Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.6 kB / 16.4 MB, free: 6.504 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.00119/0.00119, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7092/0.7092, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.67 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1431, allocations: 76.17 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5913/0.7344, allocations: 241.9 MB / 0.8678 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.751, allocations: 13.53 MB / 0.881 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.753, allocations: 59.62 kB / 0.8811 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.7554, allocations: 0.9782 MB / 0.882 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00432/0.7598, allocations: 1.785 MB / 0.8838 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.7625, allocations: 1.244 MB / 0.885 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.7663, allocations: 3.26 MB / 0.8882 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.7678, allocations: 1.051 MB / 0.8892 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008609/0.7764, allocations: 4.133 MB / 0.8932 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.7778, allocations: 0.9021 MB / 0.8941 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.778, allocations: 76 kB / 0.8942 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.7796, allocations: 0.7014 MB / 0.8949 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.78, allocations: 446.6 kB / 0.8953 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008599/0.7809, allocations: 0.68 MB / 0.896 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.7829, allocations: 1.514 MB / 0.8975 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7829, allocations: 4 kB / 0.8975 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7829, allocations: 0 / 0.8975 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.15e-05/0.7829, allocations: 0 / 0.8975 GB, free: 12.27 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.002446/0.7854, allocations: 1.619 MB / 0.899 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7854, allocations: 12.03 kB / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.7856, allocations: 126.7 kB / 0.8992 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006861/0.7863, allocations: 198.1 kB / 0.8994 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.7877, allocations: 0.9088 MB / 0.9003 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.7879, allocations: 125.4 kB / 0.9004 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-05/0.788, allocations: 84 kB / 0.9005 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.7893, allocations: 0.9259 MB / 0.9014 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.7893, allocations: 7.938 kB / 0.9014 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.7894, allocations: 32 kB / 0.9014 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.7894, allocations: 24 kB / 0.9014 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.7902, allocations: 0.5033 MB / 0.9019 GB, free: 7.492 MB / 0.6544 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.004676/0.7949, allocations: 4.849 MB / 0.9066 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.7955, allocations: 424.6 kB / 0.907 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.7958, allocations: 270.4 kB / 0.9073 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.796, allocations: 105.1 kB / 0.9074 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7961, allocations: 42.5 kB / 0.9074 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.734e-06/0.7961, allocations: 0 / 0.9074 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.00173/0.7978, allocations: 0.7822 MB / 0.9082 GB, free: 488 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.798, allocations: 405.5 kB / 0.9086 GB, free: 15.99 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.7995, allocations: 1.271 MB / 0.9098 GB, free: 14.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.7995, allocations: 37.7 kB / 0.9099 GB, free: 14.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.7999, allocations: 0.5457 MB / 0.9104 GB, free: 14.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.8, allocations: 110.4 kB / 0.9105 GB, free: 14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.8002, allocations: 81.7 kB / 0.9106 GB, free: 13.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.8003, allocations: 325.9 kB / 0.9109 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.8005, allocations: 99.61 kB / 0.911 GB, free: 13.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.8009, allocations: 330.5 kB / 0.9113 GB, free: 13.08 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.8013, allocations: 332.5 kB / 0.9116 GB, free: 12.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8013, allocations: 0 / 0.9116 GB, free: 12.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008144/0.8022, allocations: 497.2 kB / 0.9121 GB, free: 12.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.8022, allocations: 8 kB / 0.9121 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8022, allocations: 4.344 kB / 0.9121 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.8025, allocations: 69.67 kB / 0.9122 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.8027, allocations: 59.84 kB / 0.9122 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.8052, allocations: 3.262 MB / 0.9154 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.8059, allocations: 99.14 kB / 0.9155 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.806, allocations: 23.98 kB / 0.9155 GB, free: 8.406 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.0003614/0.8063, allocations: 265.8 kB / 0.9158 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.8067, allocations: 142.3 kB / 0.9159 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.8069, allocations: 124 kB / 0.916 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8069, allocations: 8 kB / 0.9161 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.8069, allocations: 7.938 kB / 0.9161 GB, free: 7.852 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.807, allocations: 8.141 kB / 0.9161 GB, free: 7.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.81, allocations: 2.524 MB / 0.9185 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.81, allocations: 12.08 kB / 0.9185 GB, free: 5.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.8102, allocations: 47.92 kB / 0.9186 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.8104, allocations: 65.67 kB / 0.9187 GB, free: 5.047 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.8104, allocations: 12 kB / 0.9187 GB, free: 5.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.8127, allocations: 3.262 MB / 0.9219 GB, free: 1.496 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.8127, allocations: 4 kB / 0.9219 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.8136, allocations: 0.6884 MB / 0.9225 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.8139, allocations: 247.4 kB / 0.9228 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.8141, allocations: 12 kB / 0.9228 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.8147, allocations: 35.95 kB / 0.9228 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.8148, allocations: 47.83 kB / 0.9229 GB, free: 364 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.8149, allocations: 16 kB / 0.9229 GB, free: 348 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001138/0.816, allocations: 0.8763 MB / 0.9237 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.816, allocations: 0 / 0.9237 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001093/0.8171, allocations: 259.7 kB / 0.924 GB, free: 15.21 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.001485/0.8186, allocations: 1.339 MB / 0.9253 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.8196, allocations: 0.5286 MB / 0.9258 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8197, allocations: 3.938 kB / 0.9258 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.8202, allocations: 402.2 kB / 0.9262 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.8234, allocations: 0.7343 MB / 0.9269 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.8347, allocations: 8.204 MB / 0.9349 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/0.8356, allocations: 1.13 MB / 0.936 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008608/0.8365, allocations: 242.5 kB / 0.9362 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.837, allocations: 447.3 kB / 0.9367 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.837, allocations: 0 / 0.9367 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/0.9033, allocations: 34.81 MB / 0.9707 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.26, allocations: 20.17 kB / 0.9707 GB, free: 15.36 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)