Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 110.2 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 286.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9704/0.9704, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002354, allocations: 92.19 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.533, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve): time 0.02442/0.5574, allocations: 20.73 MB / 0.7873 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007474/0.5649, allocations: 4.943 MB / 0.7921 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.5658, allocations: 19.88 kB / 0.7921 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.5668, allocations: 282 kB / 0.7924 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.5695, allocations: 0.8571 MB / 0.7932 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5716, allocations: 0.7202 MB / 0.7939 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.5736, allocations: 1.384 MB / 0.7953 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.5744, allocations: 444.1 kB / 0.7957 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.5756, allocations: 0.5914 MB / 0.7963 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.5764, allocations: 442.1 kB / 0.7967 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.5766, allocations: 40 kB / 0.7968 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.5779, allocations: 0.6355 MB / 0.7974 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.5781, allocations: 123.5 kB / 0.7975 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.5786, allocations: 286.5 kB / 0.7978 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.5801, allocations: 0.8554 MB / 0.7986 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5801, allocations: 0 / 0.7986 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5801, allocations: 0 / 0.7986 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.5801, allocations: 0 / 0.7986 GB, free: 3.508 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001842/0.582, allocations: 0.9303 MB / 0.7995 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.582, allocations: 12.03 kB / 0.7995 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.5822, allocations: 64.19 kB / 0.7996 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.5831, allocations: 471.4 kB / 0.8 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.5832, allocations: 32.59 kB / 0.8001 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.5832, allocations: 36 kB / 0.8001 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.5839, allocations: 310 kB / 0.8004 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5839, allocations: 0 / 0.8004 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.584, allocations: 12 kB / 0.8004 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.584, allocations: 8 kB / 0.8004 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.5846, allocations: 262.4 kB / 0.8007 GB, free: 1.301 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.587, allocations: 1.333 MB / 0.802 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.5875, allocations: 256.9 kB / 0.8022 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.5879, allocations: 136.8 kB / 0.8023 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.5883, allocations: 0.495 MB / 0.8028 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.5883, allocations: 38.55 kB / 0.8029 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.5883, allocations: 3.938 kB / 0.8029 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001836/0.5902, allocations: 0.561 MB / 0.8034 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.5902, allocations: 55.41 kB / 0.8035 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.5908, allocations: 470.1 kB / 0.8039 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.5908, allocations: 29.7 kB / 0.8039 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.591, allocations: 244.5 kB / 0.8042 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.5911, allocations: 86.7 kB / 0.8043 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5912, allocations: 85.58 kB / 0.8043 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5914, allocations: 358.8 kB / 0.8047 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.5917, allocations: 120.5 kB / 0.8048 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.5921, allocations: 182 kB / 0.805 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.5927, allocations: 275.8 kB / 0.8052 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5927, allocations: 0 / 0.8052 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001642/0.5944, allocations: 499.5 kB / 0.8057 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5944, allocations: 8 kB / 0.8057 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5944, allocations: 4 kB / 0.8057 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.5948, allocations: 48.81 kB / 0.8058 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5952, allocations: 71.89 kB / 0.8058 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004473/0.5956, allocations: 0.5602 MB / 0.8064 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.5961, allocations: 55.67 kB / 0.8064 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.5962, allocations: 15.98 kB / 0.8065 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004219/0.5966, allocations: 239.3 kB / 0.8067 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003522/0.5969, allocations: 177.1 kB / 0.8068 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006019/0.5976, allocations: 269.4 kB / 0.8071 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.5976, allocations: 0 / 0.8071 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008331/0.5984, allocations: 372.7 kB / 0.8075 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5984, allocations: 11.98 kB / 0.8075 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.5984, allocations: 0 / 0.8075 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.5984, allocations: 0 / 0.8075 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.5988, allocations: 75.89 kB / 0.8075 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5989, allocations: 7.938 kB / 0.8076 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.5993, allocations: 51.73 kB / 0.8076 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5994, allocations: 19.98 kB / 0.8076 GB, free: 9.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.5995, allocations: 192.2 kB / 0.8078 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.5996, allocations: 47.44 kB / 0.8079 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.6006, allocations: 428.8 kB / 0.8083 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.6006, allocations: 3.984 kB / 0.8083 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6006, allocations: 4 kB / 0.8083 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.6008, allocations: 148.4 kB / 0.8084 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.6009, allocations: 4 kB / 0.8084 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.6012, allocations: 23.97 kB / 0.8084 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.6013, allocations: 20.2 kB / 0.8085 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001088/0.6024, allocations: 458.1 kB / 0.8089 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001137/0.6035, allocations: 0.6814 MB / 0.8096 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003209/0.6039, allocations: 139.9 kB / 0.8097 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003352/0.6042, allocations: 314.9 kB / 0.81 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of Backend: time 5.81e-07/0.6042, allocations: 0 / 0.81 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.6061, allocations: 0.6122 MB / 0.8106 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002047/0.6081, allocations: 1.377 MB / 0.8119 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.02106/0.6292, allocations: 11.56 MB / 0.8232 GB, free: 9.82 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)