Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001426/0.001426, allocations: 195.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.699/1.699, allocations: 251.7 MB / 0.5088 GB, free: 3.387 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 67.89 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7112/0.7128, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02343/0.7363, allocations: 20.68 MB / 0.744 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00806/0.7444, allocations: 4.944 MB / 0.7488 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.7455, allocations: 15.88 kB / 0.7488 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009093/0.7465, allocations: 222.6 kB / 0.749 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.7491, allocations: 0.7425 MB / 0.7498 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.7514, allocations: 0.6345 MB / 0.7504 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.7538, allocations: 1.817 MB / 0.7522 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.7544, allocations: 373.8 kB / 0.7525 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.7555, allocations: 0.5251 MB / 0.753 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/0.7562, allocations: 450 kB / 0.7535 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.059e-05/0.7563, allocations: 28 kB / 0.7535 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.7577, allocations: 0.6003 MB / 0.7541 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.7579, allocations: 111.5 kB / 0.7542 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.7582, allocations: 278.4 kB / 0.7544 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.7595, allocations: 0.8254 MB / 0.7553 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7595, allocations: 0 / 0.7553 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7595, allocations: 0 / 0.7553 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.7595, allocations: 0 / 0.7553 GB, free: 12.84 MB / 0.5762 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.001818/0.7614, allocations: 0.915 MB / 0.7561 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7614, allocations: 8.031 kB / 0.7562 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.7616, allocations: 68.12 kB / 0.7562 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006367/0.7622, allocations: 455.3 kB / 0.7567 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.7623, allocations: 28.66 kB / 0.7567 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.7623, allocations: 32 kB / 0.7567 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.763, allocations: 313.9 kB / 0.757 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.763, allocations: 0 / 0.757 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.7631, allocations: 15.98 kB / 0.757 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.7631, allocations: 8 kB / 0.757 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006166/0.7637, allocations: 262.4 kB / 0.7573 GB, free: 10.66 MB / 0.5762 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.002258/0.766, allocations: 1.333 MB / 0.7586 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.7665, allocations: 254.5 kB / 0.7588 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.7668, allocations: 144.8 kB / 0.759 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.7674, allocations: 0.4947 MB / 0.7594 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.7675, allocations: 38.55 kB / 0.7595 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.7675, allocations: 0 / 0.7595 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001836/0.7693, allocations: 0.5542 MB / 0.76 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.7694, allocations: 63.34 kB / 0.7601 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.77, allocations: 470 kB / 0.7605 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.77, allocations: 33.7 kB / 0.7606 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.7702, allocations: 240.5 kB / 0.7608 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.94e-05/0.7703, allocations: 90.7 kB / 0.7609 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.7705, allocations: 81.42 kB / 0.761 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7707, allocations: 354.8 kB / 0.7613 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.771, allocations: 116.8 kB / 0.7614 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.7714, allocations: 184.8 kB / 0.7616 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.772, allocations: 280.6 kB / 0.7619 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.772, allocations: 3.938 kB / 0.7619 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001548/0.7736, allocations: 485.5 kB / 0.7623 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.7736, allocations: 8 kB / 0.7623 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7736, allocations: 4 kB / 0.7623 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.774, allocations: 64.75 kB / 0.7624 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.7744, allocations: 63.89 kB / 0.7625 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005318/0.7749, allocations: 0.5756 MB / 0.763 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.7754, allocations: 59.67 kB / 0.7631 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.7755, allocations: 12 kB / 0.7631 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004959/0.776, allocations: 244.1 kB / 0.7633 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003388/0.7763, allocations: 176.8 kB / 0.7635 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005843/0.7769, allocations: 261.7 kB / 0.7637 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.7769, allocations: 0 / 0.7637 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007919/0.7777, allocations: 364.8 kB / 0.7641 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7778, allocations: 5.875 kB / 0.7641 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.7778, allocations: 0 / 0.7641 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.7778, allocations: 4 kB / 0.7641 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.7782, allocations: 91.81 kB / 0.7642 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.7782, allocations: 0 / 0.7642 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.7787, allocations: 59.69 kB / 0.7642 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.7787, allocations: 16 kB / 0.7643 GB, free: 3.09 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.000164/0.7789, allocations: 198 kB / 0.7644 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.779, allocations: 47.44 kB / 0.7645 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.78, allocations: 429.5 kB / 0.7649 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.78, allocations: 144 / 0.7649 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.78, allocations: 7.984 kB / 0.7649 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.78, allocations: 3.938 kB / 0.7649 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.7816, allocations: 0.9435 MB / 0.7658 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7816, allocations: 4 kB / 0.7658 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.7819, allocations: 44.09 kB / 0.7659 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.7821, allocations: 52.77 kB / 0.7659 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.7821, allocations: 8 kB / 0.7659 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003967/0.7825, allocations: 0.5562 MB / 0.7665 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.7825, allocations: 7.969 kB / 0.7665 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.7834, allocations: 0.4958 MB / 0.767 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.7836, allocations: 152.4 kB / 0.7671 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.7836, allocations: 8 kB / 0.7671 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.784, allocations: 31.95 kB / 0.7672 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.7841, allocations: 27.91 kB / 0.7672 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.7841, allocations: 12 kB / 0.7672 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003721/0.7845, allocations: 322.9 kB / 0.7675 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7845, allocations: 0 / 0.7675 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008208/0.7853, allocations: 251.5 kB / 0.7677 GB, free: 15.35 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0005823/0.7859, allocations: 252.1 kB / 0.768 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.7871, allocations: 467.5 kB / 0.7684 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7872, allocations: 0 / 0.7684 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.7876, allocations: 171.7 kB / 0.7686 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.789, allocations: 251.9 kB / 0.7688 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.7905, allocations: 0.9937 MB / 0.7698 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.791, allocations: 0.8591 MB / 0.7706 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004669/0.7915, allocations: 120.6 kB / 0.7708 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.7916, allocations: 39.42 kB / 0.7708 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7917, allocations: 0 / 0.7708 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.01782/0.8095, allocations: 9.933 MB / 0.7805 GB, free: 2.402 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)