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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.379 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 0.9433/0.9433, allocations: 143 MB / 433.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4414/0.5816, allocations: 161.3 MB / 0.7519 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.5835, allocations: 0.9666 MB / 0.7529 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.5838, allocations: 10.09 kB / 0.7529 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.5843, allocations: 155.7 kB / 0.7531 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.5858, allocations: 0.6361 MB / 0.7537 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.5865, allocations: 221.6 kB / 0.7539 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.5871, allocations: 0.5152 MB / 0.7544 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.5875, allocations: 177.8 kB / 0.7546 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.588, allocations: 239.1 kB / 0.7548 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.5882, allocations: 152.8 kB / 0.7549 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.5883, allocations: 16 kB / 0.7549 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.5892, allocations: 0.5416 MB / 0.7555 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.5894, allocations: 87.77 kB / 0.7556 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5895, allocations: 107.4 kB / 0.7557 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006568/0.5901, allocations: 498.7 kB / 0.7561 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5902, allocations: 0 / 0.7561 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5902, allocations: 0 / 0.7561 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5902, allocations: 0 / 0.7561 GB, free: 7.586 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001352/0.5915, allocations: 0.6077 MB / 0.7567 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5916, allocations: 8.031 kB / 0.7567 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.5916, allocations: 54.55 kB / 0.7568 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.5919, allocations: 48.38 kB / 0.7568 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.5922, allocations: 280.8 kB / 0.7571 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.5923, allocations: 8.328 kB / 0.7571 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.5924, allocations: 16.94 kB / 0.7571 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.5928, allocations: 239.8 kB / 0.7574 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.5928, allocations: 0 / 0.7574 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5929, allocations: 7.984 kB / 0.7574 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.5929, allocations: 11.98 kB / 0.7574 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.5935, allocations: 259.5 kB / 0.7576 GB, free: 5.969 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.001168/0.5947, allocations: 0.8469 MB / 0.7584 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.595, allocations: 138.5 kB / 0.7586 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.5952, allocations: 114 kB / 0.7587 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.5954, allocations: 190.2 kB / 0.7589 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5955, allocations: 30.56 kB / 0.7589 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.5955, allocations: 0 / 0.7589 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0008179/0.5963, allocations: 309.1 kB / 0.7592 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5964, allocations: 55.41 kB / 0.7592 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.5966, allocations: 241 kB / 0.7595 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5966, allocations: 29.7 kB / 0.7595 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.5967, allocations: 136.2 kB / 0.7596 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.5967, allocations: 47.34 kB / 0.7597 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-05/0.5968, allocations: 45.58 kB / 0.7597 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5969, allocations: 334.8 kB / 0.76 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.5972, allocations: 63.95 kB / 0.7601 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.5974, allocations: 110.4 kB / 0.7602 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.5977, allocations: 171.9 kB / 0.7604 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5977, allocations: 0 / 0.7604 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004157/0.5981, allocations: 213.2 kB / 0.7606 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5982, allocations: 7.938 kB / 0.7606 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5982, allocations: 0 / 0.7606 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5982, allocations: 4 kB / 0.7606 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.5984, allocations: 35.98 kB / 0.7606 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.5984, allocations: 7.984 kB / 0.7606 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.5985, allocations: 15.84 kB / 0.7606 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.5986, allocations: 11.98 kB / 0.7607 GB, free: 2.66 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 (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.0001618/0.5987, allocations: 137.8 kB / 0.7608 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.5988, allocations: 23.66 kB / 0.7608 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.5989, allocations: 33.83 kB / 0.7608 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5989, allocations: 0 / 0.7608 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5989, allocations: 4 kB / 0.7608 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5989, allocations: 4.047 kB / 0.7609 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009661/0.5999, allocations: 0.6757 MB / 0.7615 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5999, allocations: 4 kB / 0.7615 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.6, allocations: 31.91 kB / 0.7615 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.6001, allocations: 4.812 kB / 0.7616 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.6001, allocations: 4 kB / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6001, allocations: 0 / 0.7616 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6001, allocations: 7.938 kB / 0.7616 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.6006, allocations: 354.7 kB / 0.7619 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.6007, allocations: 116.8 kB / 0.762 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6007, allocations: 11.12 kB / 0.762 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6009, allocations: 11.92 kB / 0.762 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.601, allocations: 19.92 kB / 0.7621 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.601, allocations: 4 kB / 0.7621 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001449/0.6011, allocations: 176.5 kB / 0.7622 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6011, allocations: 4 kB / 0.7622 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003386/0.6015, allocations: 63.89 kB / 0.7623 GB, free: 0.8555 MB / 0.5762 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.0009773/0.6025, allocations: 0.9315 MB / 0.7632 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.6029, allocations: 187.8 kB / 0.7634 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6029, allocations: 0 / 0.7634 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.6031, allocations: 99.8 kB / 0.7635 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.6039, allocations: 118.6 kB / 0.7636 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.6068, allocations: 2.448 MB / 0.766 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.6072, allocations: 0.7558 MB / 0.7667 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.6074, allocations: 65.89 kB / 0.7668 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6075, allocations: 63.42 kB / 0.7668 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.6075, allocations: 3.938 kB / 0.7668 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5477/1.155, allocations: 6.882 MB / 0.7736 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/9.046, allocations: 14.52 kB / 0.7736 GB, free: 5.332 MB / 0.5919 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)