Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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.00162/0.00162, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001715/0.001715, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.582/1.582, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 70.23 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.141, allocations: 78.86 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.476/0.6171, allocations: 173.4 MB / 0.8198 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.6202, allocations: 1.827 MB / 0.8216 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.6206, allocations: 17.47 kB / 0.8217 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.6213, allocations: 219.5 kB / 0.8219 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.623, allocations: 0.7562 MB / 0.8226 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.6249, allocations: 0.8293 MB / 0.8234 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009437/0.6258, allocations: 0.8443 MB / 0.8242 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.6263, allocations: 299.5 kB / 0.8245 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.6273, allocations: 0.5588 MB / 0.8251 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.6277, allocations: 268.8 kB / 0.8253 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.6277, allocations: 25 kB / 0.8253 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.6294, allocations: 1.099 MB / 0.8264 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.6295, allocations: 119.7 kB / 0.8265 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.6298, allocations: 202.4 kB / 0.8267 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.6311, allocations: 0.9232 MB / 0.8276 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6311, allocations: 0 / 0.8276 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6311, allocations: 3.938 kB / 0.8276 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6311, allocations: 0 / 0.8276 GB, free: 6.16 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001705/0.6328, allocations: 0.791 MB / 0.8284 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6328, allocations: 9.719 kB / 0.8284 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.791e-05/0.6329, allocations: 66.11 kB / 0.8285 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.634, allocations: 163.7 kB / 0.8286 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.6346, allocations: 366 kB / 0.829 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.6346, allocations: 23.19 kB / 0.829 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.6347, allocations: 25.78 kB / 0.829 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.6354, allocations: 398 kB / 0.8294 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6354, allocations: 0 / 0.8294 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.6354, allocations: 14.03 kB / 0.8294 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.6355, allocations: 10.97 kB / 0.8294 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.6362, allocations: 351.8 kB / 0.8298 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.6383, allocations: 1.777 MB / 0.8315 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.6388, allocations: 386.3 kB / 0.8319 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.6391, allocations: 139.1 kB / 0.832 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.6397, allocations: 307.6 kB / 0.8323 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6397, allocations: 34.56 kB / 0.8323 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.6398, allocations: 0 / 0.8323 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.0009537/0.6407, allocations: 393.1 kB / 0.8327 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6408, allocations: 53.88 kB / 0.8328 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.6412, allocations: 364 kB / 0.8331 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.6412, allocations: 25.7 kB / 0.8331 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.6414, allocations: 196.5 kB / 0.8333 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.6414, allocations: 66.77 kB / 0.8334 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/0.6415, allocations: 50.09 kB / 0.8334 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6417, allocations: 350.2 kB / 0.8338 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.6419, allocations: 91.52 kB / 0.8338 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.6422, allocations: 154.1 kB / 0.834 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.6427, allocations: 263.2 kB / 0.8342 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6427, allocations: 0 / 0.8342 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005844/0.6433, allocations: 306.5 kB / 0.8345 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6433, allocations: 7.719 kB / 0.8345 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6433, allocations: 0 / 0.8345 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6434, allocations: 5.25 kB / 0.8345 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.6436, allocations: 47.12 kB / 0.8346 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6436, allocations: 6.656 kB / 0.8346 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.6439, allocations: 42.73 kB / 0.8346 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.6439, allocations: 6.844 kB / 0.8346 GB, free: 0.5586 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.6441, allocations: 166.5 kB / 0.8348 GB, free: 416 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.6441, allocations: 37.14 kB / 0.8348 GB, free: 396 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.6448, allocations: 289.7 kB / 0.8351 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6448, allocations: 10.53 kB / 0.8351 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6448, allocations: 0 / 0.8351 GB, free: 212 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6448, allocations: 3.984 kB / 0.8351 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.6462, allocations: 0.8942 MB / 0.836 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6462, allocations: 3.781 kB / 0.836 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6464, allocations: 46.09 kB / 0.8361 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6464, allocations: 5.438 kB / 0.8361 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.6464, allocations: 8.844 kB / 0.8361 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6464, allocations: 2.25 kB / 0.8361 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6465, allocations: 3.031 kB / 0.8361 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.6471, allocations: 451.5 kB / 0.8365 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.6473, allocations: 140.7 kB / 0.8366 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.6473, allocations: 13.95 kB / 0.8366 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.6475, allocations: 10.81 kB / 0.8367 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.6476, allocations: 23.59 kB / 0.8367 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.6476, allocations: 11.72 kB / 0.8367 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002857/0.6479, allocations: 253.2 kB / 0.8369 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.114e-06/0.648, allocations: 4 kB / 0.8369 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004182/0.6484, allocations: 107.4 kB / 0.837 GB, free: 14.76 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.6496, allocations: 1.05 MB / 0.8381 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.6502, allocations: 246 kB / 0.8383 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6502, allocations: 2.875 kB / 0.8383 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.6505, allocations: 125.2 kB / 0.8384 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.6516, allocations: 220.7 kB / 0.8386 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.6558, allocations: 3.302 MB / 0.8419 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.6563, allocations: 0.8013 MB / 0.8426 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002913/0.6565, allocations: 82.83 kB / 0.8427 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.6567, allocations: 118.3 kB / 0.8428 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6567, allocations: 0 / 0.8428 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.6914, allocations: 10.83 MB / 0.8534 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.258, allocations: 6.594 kB / 0.8534 GB, free: 2.082 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)