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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002485/0.002485, allocations: 285.9 kB / 309.8 MB, free: 3.402 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.115/1.115, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 99.86 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5402, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2992/0.8394, allocations: 245.9 MB / 1.068 GB, free: 3.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.8627, allocations: 13.59 MB / 1.081 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.8654, allocations: 79.25 kB / 1.081 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003397/0.8688, allocations: 1.021 MB / 1.082 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005922/0.8747, allocations: 1.859 MB / 1.084 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.8785, allocations: 1.244 MB / 1.085 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005701/0.8842, allocations: 3.262 MB / 1.088 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.8861, allocations: 0.8792 MB / 1.089 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.8968, allocations: 4.273 MB / 1.094 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.8988, allocations: 0.9566 MB / 1.094 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003583/0.8992, allocations: 84 kB / 1.095 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.9012, allocations: 0.7442 MB / 1.095 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006509/0.9019, allocations: 446.4 kB / 1.096 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.9033, allocations: 0.6839 MB / 1.096 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.9064, allocations: 1.521 MB / 1.098 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9064, allocations: 4 kB / 1.098 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9064, allocations: 4 kB / 1.098 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.696e-05/0.9064, allocations: 0 / 1.098 GB, free: 4.711 MB / 0.8262 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.00303/0.9095, allocations: 1.661 MB / 1.099 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9095, allocations: 8.031 kB / 1.099 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.079e-05/0.9096, allocations: 25.94 kB / 1.099 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.9097, allocations: 134.7 kB / 1.1 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.9105, allocations: 206.9 kB / 1.1 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.9123, allocations: 0.9023 MB / 1.101 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.9124, allocations: 129.3 kB / 1.101 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9125, allocations: 84 kB / 1.101 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.9141, allocations: 0.9168 MB / 1.102 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.9141, allocations: 7.938 kB / 1.102 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.9142, allocations: 32 kB / 1.102 GB, free: 408 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.9142, allocations: 20 kB / 1.102 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.9152, allocations: 0.515 MB / 1.102 GB, free: 15.86 MB / 0.8419 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.005845/0.9211, allocations: 4.866 MB / 1.107 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.9218, allocations: 416.6 kB / 1.108 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.9222, allocations: 255.8 kB / 1.108 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.9225, allocations: 105 kB / 1.108 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.9225, allocations: 54.48 kB / 1.108 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.9225, allocations: 0 / 1.108 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.002219/0.9247, allocations: 0.7824 MB / 1.109 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.925, allocations: 401.9 kB / 1.109 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.9268, allocations: 1.275 MB / 1.11 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.9269, allocations: 33.7 kB / 1.11 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.9275, allocations: 0.5538 MB / 1.111 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.9276, allocations: 111 kB / 1.111 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.9277, allocations: 89.58 kB / 1.111 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.9279, allocations: 329.9 kB / 1.111 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.9281, allocations: 87.94 kB / 1.111 GB, free: 5.855 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.9286, allocations: 354 kB / 1.112 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.9291, allocations: 328.6 kB / 1.112 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9291, allocations: 0 / 1.112 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001048/0.9302, allocations: 0.4979 MB / 1.113 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.9302, allocations: 4 kB / 1.113 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9302, allocations: 4 kB / 1.113 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.9305, allocations: 74.02 kB / 1.113 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.9307, allocations: 59.91 kB / 1.113 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.9337, allocations: 3.258 MB / 1.116 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.9345, allocations: 99.48 kB / 1.116 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.9345, allocations: 20 kB / 1.116 GB, free: 0.7422 MB / 0.8419 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.0004529/0.935, allocations: 273.7 kB / 1.116 GB, free: 476 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.9354, allocations: 147 kB / 1.116 GB, free: 328 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.9356, allocations: 131.9 kB / 1.117 GB, free: 192 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.9356, allocations: 8.125 kB / 1.117 GB, free: 184 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.9356, allocations: 12 kB / 1.117 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.9356, allocations: 11.98 kB / 1.117 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.939, allocations: 2.513 MB / 1.119 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.939, allocations: 4 kB / 1.119 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.9392, allocations: 51.94 kB / 1.119 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.9394, allocations: 77.61 kB / 1.119 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.9394, allocations: 11.94 kB / 1.119 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.9422, allocations: 3.255 MB / 1.122 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.9422, allocations: 11.94 kB / 1.122 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.9432, allocations: 0.6736 MB / 1.123 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.9436, allocations: 260.1 kB / 1.123 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.9437, allocations: 19.92 kB / 1.123 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.9444, allocations: 35.95 kB / 1.123 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.9445, allocations: 43.78 kB / 1.123 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.9445, allocations: 23.98 kB / 1.123 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001247/0.9458, allocations: 0.8802 MB / 1.124 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.9458, allocations: 0 / 1.124 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001001/0.9468, allocations: 259.8 kB / 1.125 GB, free: 7.516 MB / 0.8575 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.001529/0.9483, allocations: 1.308 MB / 1.126 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.9493, allocations: 0.517 MB / 1.126 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9494, allocations: 0 / 1.126 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.9499, allocations: 403 kB / 1.127 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.9533, allocations: 0.7437 MB / 1.127 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.965, allocations: 8.239 MB / 1.135 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.9659, allocations: 1.138 MB / 1.137 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008643/0.9668, allocations: 246.5 kB / 1.137 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.9673, allocations: 439.3 kB / 1.137 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of SimCode: time 8.21e-07/0.9673, allocations: 0 / 1.137 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4281/1.395, allocations: 34.41 MB / 1.171 GB, free: 289.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.79, allocations: 12.08 kB / 1.171 GB, free: 289.6 MB / 0.8731 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.906757799966726] Failed to read output from testmodel.py, exit status != 0: 13.955218482005876 13.976223489 13.06578338 Calling exit ...