Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008192/0.000819, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005996/0.005997, allocations: 169 kB / 16.26 MB, free: 6.652 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 274.8 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008175/0.0008175, allocations: 17 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2272, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5543/0.7815, allocations: 236.4 MB / 0.916 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.7984, allocations: 13.41 MB / 0.9291 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.8001, allocations: 47.62 kB / 0.9292 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.8023, allocations: 0.8237 MB / 0.93 GB, free: 5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.8065, allocations: 1.69 MB / 0.9316 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.8093, allocations: 1.126 MB / 0.9327 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.814, allocations: 4.6 MB / 0.9372 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.8155, allocations: 0.8905 MB / 0.9381 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008603/0.8241, allocations: 3.818 MB / 0.9418 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.8258, allocations: 0.9411 MB / 0.9427 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.826, allocations: 48 kB / 0.9428 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.828, allocations: 0.8961 MB / 0.9437 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000574/0.8285, allocations: 406.6 kB / 0.944 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.8296, allocations: 0.6622 MB / 0.9447 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.8313, allocations: 1.533 MB / 0.9462 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8313, allocations: 4 kB / 0.9462 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8313, allocations: 4 kB / 0.9462 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8314, allocations: 0 / 0.9462 GB, free: 4.332 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001943/0.8333, allocations: 1.379 MB / 0.9475 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8334, allocations: 8.031 kB / 0.9476 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.834, allocations: 202.1 kB / 0.9477 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.8351, allocations: 0.8347 MB / 0.9486 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.8353, allocations: 125.4 kB / 0.9487 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.8354, allocations: 88 kB / 0.9488 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.8367, allocations: 0.9259 MB / 0.9497 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.8368, allocations: 3.938 kB / 0.9497 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.8368, allocations: 36 kB / 0.9497 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.8369, allocations: 23.98 kB / 0.9497 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008701/0.8377, allocations: 0.5189 MB / 0.9502 GB, free: 15.98 MB / 0.67 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.004285/0.842, allocations: 4.888 MB / 0.955 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005406/0.8426, allocations: 424.7 kB / 0.9554 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.8429, allocations: 272.7 kB / 0.9557 GB, free: 9.934 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.8431, allocations: 105.2 kB / 0.9558 GB, free: 9.812 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.8432, allocations: 58.44 kB / 0.9558 GB, free: 9.746 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.8432, allocations: 0 / 0.9558 GB, free: 9.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001746/0.8449, allocations: 0.7941 MB / 0.9566 GB, free: 8.902 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.8451, allocations: 405.5 kB / 0.957 GB, free: 8.414 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.8465, allocations: 1.267 MB / 0.9582 GB, free: 7.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.8465, allocations: 37.7 kB / 0.9583 GB, free: 7.094 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.847, allocations: 0.5456 MB / 0.9588 GB, free: 6.543 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.8471, allocations: 118.6 kB / 0.9589 GB, free: 6.426 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.8471, allocations: 29.72 kB / 0.9589 GB, free: 6.391 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8472, allocations: 329.9 kB / 0.9593 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.8474, allocations: 91.92 kB / 0.9593 GB, free: 5.973 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.8478, allocations: 355.2 kB / 0.9597 GB, free: 5.531 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.8484, allocations: 340.5 kB / 0.96 GB, free: 5.152 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8484, allocations: 0 / 0.96 GB, free: 5.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007981/0.8492, allocations: 0.4895 MB / 0.9605 GB, free: 4.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8492, allocations: 8.344 kB / 0.9605 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8492, allocations: 8 kB / 0.9605 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002797/0.8495, allocations: 77.59 kB / 0.9606 GB, free: 4.551 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.8497, allocations: 59.91 kB / 0.9606 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.8519, allocations: 2.931 MB / 0.9635 GB, free: 1.289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.8527, allocations: 121.1 kB / 0.9636 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.8527, allocations: 16 kB / 0.9636 GB, free: 1.156 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.8531, allocations: 278.5 kB / 0.9639 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.8535, allocations: 134.4 kB / 0.964 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.8536, allocations: 131.9 kB / 0.9641 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.8537, allocations: 4 kB / 0.9641 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.8537, allocations: 8 kB / 0.9642 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.8537, allocations: 7.984 kB / 0.9642 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.8566, allocations: 2.535 MB / 0.9666 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.8567, allocations: 4 kB / 0.9666 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.8568, allocations: 52.59 kB / 0.9667 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.857, allocations: 73.67 kB / 0.9668 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.857, allocations: 15.94 kB / 0.9668 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/0.8595, allocations: 2.923 MB / 0.9696 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.8596, allocations: 11.94 kB / 0.9696 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8608, allocations: 0.6819 MB / 0.9703 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.8613, allocations: 259.2 kB / 0.9706 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.8614, allocations: 12 kB / 0.9706 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000705/0.8621, allocations: 63.92 kB / 0.9706 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.8622, allocations: 39.84 kB / 0.9707 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.8623, allocations: 20 kB / 0.9707 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001272/0.8636, allocations: 0.8763 MB / 0.9715 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8636, allocations: 0 / 0.9715 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001222/0.8648, allocations: 279.7 kB / 0.9718 GB, free: 8.23 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004997/0.8653, allocations: 207.3 kB / 0.972 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009629/0.8663, allocations: 0.5326 MB / 0.9725 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.8663, allocations: 0 / 0.9725 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.8668, allocations: 414.1 kB / 0.9729 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/0.8715, allocations: 0.7866 MB / 0.9737 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.8742, allocations: 2.198 MB / 0.9758 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.8749, allocations: 1.135 MB / 0.9769 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008195/0.8757, allocations: 238.7 kB / 0.9772 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.876, allocations: 91.42 kB / 0.9773 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of SimCode: time 8.32e-07/0.876, allocations: 4 kB / 0.9773 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of Templates: time 0.03968/0.9156, allocations: 24.11 MB / 1.001 GB, free: 10.75 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)