Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_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.008121/0.008121, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.002407/0.002407, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.022/1.022, allocations: 143 MB / 433.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4087, allocations: 82.03 MB / 0.6751 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1769/0.5856, allocations: 161.4 MB / 0.8327 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.5877, allocations: 0.9587 MB / 0.8337 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003344/0.5881, allocations: 11.94 kB / 0.8337 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.5887, allocations: 151 kB / 0.8338 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.5903, allocations: 0.634 MB / 0.8345 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.591, allocations: 222.7 kB / 0.8347 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.5917, allocations: 0.5188 MB / 0.8352 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.5921, allocations: 180.1 kB / 0.8353 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.5926, allocations: 227.1 kB / 0.8356 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.5929, allocations: 167.3 kB / 0.8357 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.5929, allocations: 16 kB / 0.8357 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.5939, allocations: 0.5455 MB / 0.8363 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.594, allocations: 79.78 kB / 0.8363 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.5942, allocations: 119.4 kB / 0.8365 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009961/0.5952, allocations: 0.4908 MB / 0.8369 GB, free: 156 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5952, allocations: 0 / 0.8369 GB, free: 156 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5952, allocations: 4 kB / 0.8369 GB, free: 152 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5952, allocations: 0 / 0.8369 GB, free: 152 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001921/0.5971, allocations: 0.5999 MB / 0.8375 GB, free: 15.5 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5972, allocations: 12.03 kB / 0.8375 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/0.5973, allocations: 50.55 kB / 0.8376 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.5976, allocations: 47.69 kB / 0.8376 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.5982, allocations: 286.4 kB / 0.8379 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.5982, allocations: 12.33 kB / 0.8379 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.5983, allocations: 23.94 kB / 0.8379 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.5989, allocations: 235.8 kB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5989, allocations: 0 / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.5989, allocations: 11.98 kB / 0.8382 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.5989, allocations: 11.98 kB / 0.8382 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.5995, allocations: 263.3 kB / 0.8384 GB, free: 14.51 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.001282/0.6008, allocations: 0.8244 MB / 0.8392 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.6011, allocations: 142.6 kB / 0.8394 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.6014, allocations: 108.8 kB / 0.8395 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.6017, allocations: 194.2 kB / 0.8397 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.6017, allocations: 34.5 kB / 0.8397 GB, free: 13.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.6017, allocations: 0 / 0.8397 GB, free: 13.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.0008858/0.6026, allocations: 305.2 kB / 0.84 GB, free: 12.78 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6027, allocations: 55.41 kB / 0.84 GB, free: 12.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.603, allocations: 241 kB / 0.8403 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.603, allocations: 29.7 kB / 0.8403 GB, free: 12.44 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.6031, allocations: 136.2 kB / 0.8404 GB, free: 12.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.6032, allocations: 47.3 kB / 0.8405 GB, free: 12.25 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.6032, allocations: 37.7 kB / 0.8405 GB, free: 12.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6034, allocations: 338.8 kB / 0.8408 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.6035, allocations: 59.95 kB / 0.8409 GB, free: 11.81 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6037, allocations: 106.5 kB / 0.841 GB, free: 11.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.6041, allocations: 173.7 kB / 0.8412 GB, free: 11.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6041, allocations: 0 / 0.8412 GB, free: 11.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004686/0.6046, allocations: 217.2 kB / 0.8414 GB, free: 11.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6046, allocations: 7.938 kB / 0.8414 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.6046, allocations: 8 kB / 0.8414 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6046, allocations: 64 / 0.8414 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.6048, allocations: 43.91 kB / 0.8414 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6049, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.605, allocations: 23.77 kB / 0.8414 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.6051, allocations: 4 kB / 0.8415 GB, free: 11.22 MB / 0.67 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 (15): * Single equations (assignments): 15 * 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.0001332/0.6052, allocations: 141.8 kB / 0.8416 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.6053, allocations: 27.78 kB / 0.8416 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.6053, allocations: 29.83 kB / 0.8416 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6054, allocations: 8 kB / 0.8416 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6054, allocations: 0 / 0.8416 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6054, allocations: 0 / 0.8416 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.6064, allocations: 0.6755 MB / 0.8423 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6064, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.6066, allocations: 35.97 kB / 0.8423 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6066, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6066, allocations: 4 kB / 0.8424 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6067, allocations: 4 kB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6067, allocations: 3.938 kB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.6072, allocations: 365.3 kB / 0.8427 GB, free: 9.805 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6073, allocations: 104.9 kB / 0.8428 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.6073, allocations: 11.94 kB / 0.8428 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.6075, allocations: 7.984 kB / 0.8428 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.6076, allocations: 19.92 kB / 0.8428 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.6076, allocations: 4 kB / 0.8428 GB, free: 9.641 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001688/0.6078, allocations: 180.5 kB / 0.843 GB, free: 9.461 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6078, allocations: 4 kB / 0.843 GB, free: 9.457 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003542/0.6081, allocations: 55.91 kB / 0.8431 GB, free: 9.402 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001068/0.6092, allocations: 0.9429 MB / 0.844 GB, free: 8.418 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.6097, allocations: 183.6 kB / 0.8442 GB, free: 8.242 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6097, allocations: 0 / 0.8442 GB, free: 8.242 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.6099, allocations: 99.8 kB / 0.8443 GB, free: 8.145 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006933/0.6106, allocations: 121.5 kB / 0.8444 GB, free: 8.027 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.6138, allocations: 2.471 MB / 0.8468 GB, free: 5.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.6142, allocations: 0.7557 MB / 0.8475 GB, free: 4.645 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000199/0.6144, allocations: 65.89 kB / 0.8476 GB, free: 4.582 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.6145, allocations: 63.42 kB / 0.8477 GB, free: 4.52 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.6145, allocations: 0 / 0.8477 GB, free: 4.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.6401, allocations: 7.035 MB / 0.8545 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.585, allocations: 13.16 kB / 0.8545 GB, free: 13.66 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)