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.001226/0.001226, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002135/0.002135, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.003879/0.003879, allocations: 285.9 kB / 313.5 MB, free: 2.875 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.238/1.238, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.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.002785/0.002785, allocations: 99.73 kB / 0.7404 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1991, allocations: 95.39 MB / 0.8335 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6721/0.8712, allocations: 246.6 MB / 1.074 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.8883, allocations: 13.68 MB / 1.088 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.8909, allocations: 82.09 kB / 1.088 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.8938, allocations: 1.019 MB / 1.089 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.8993, allocations: 1.886 MB / 1.091 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.9029, allocations: 1.293 MB / 1.092 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005141/0.908, allocations: 3.315 MB / 1.095 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.9101, allocations: 0.8199 MB / 1.096 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.9224, allocations: 4.349 MB / 1.1 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.9249, allocations: 0.9523 MB / 1.101 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005519/0.9255, allocations: 77.31 kB / 1.101 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.9282, allocations: 0.7515 MB / 1.102 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009246/0.9291, allocations: 461.5 kB / 1.102 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.9308, allocations: 0.6824 MB / 1.103 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.9347, allocations: 1.531 MB / 1.105 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9347, allocations: 0 / 1.105 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9347, allocations: 0 / 1.105 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.374e-05/0.9348, allocations: 0 / 1.105 GB, free: 3.945 MB / 0.7325 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.003376/0.9381, allocations: 1.593 MB / 1.106 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.9382, allocations: 11.5 kB / 1.106 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.049e-05/0.9382, allocations: 20.62 kB / 1.106 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.9384, allocations: 126.9 kB / 1.106 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.9394, allocations: 206.2 kB / 1.106 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.9414, allocations: 0.828 MB / 1.107 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.9416, allocations: 177.1 kB / 1.107 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.9417, allocations: 86.62 kB / 1.107 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.9434, allocations: 0.9134 MB / 1.108 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.9434, allocations: 5.656 kB / 1.108 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.9435, allocations: 41.75 kB / 1.108 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.9435, allocations: 20.69 kB / 1.108 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.9446, allocations: 0.5113 MB / 1.109 GB, free: 0.5977 MB / 0.7325 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.006283/0.9509, allocations: 4.81 MB / 1.114 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.9516, allocations: 405.6 kB / 1.114 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.952, allocations: 258 kB / 1.114 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.9522, allocations: 19.98 kB / 1.114 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.08e-05/0.9522, allocations: 62.42 kB / 1.114 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.9522, allocations: 0 / 1.114 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.002067/0.9543, allocations: 0.6242 MB / 1.115 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/0.9545, allocations: 405.9 kB / 1.115 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.9565, allocations: 1.263 MB / 1.117 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.282e-05/0.9566, allocations: 45.64 kB / 1.117 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.9572, allocations: 0.5537 MB / 1.117 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.9573, allocations: 115 kB / 1.117 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.9574, allocations: 85.64 kB / 1.117 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9576, allocations: 318 kB / 1.118 GB, free: 7.047 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.9578, allocations: 91.94 kB / 1.118 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.9583, allocations: 338.7 kB / 1.118 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.9588, allocations: 329.6 kB / 1.118 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.9589, allocations: 0 / 1.118 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001144/0.96, allocations: 0.4942 MB / 1.119 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.96, allocations: 7.984 kB / 1.119 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.96, allocations: 4 kB / 1.119 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.9604, allocations: 81.84 kB / 1.119 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.9606, allocations: 55.91 kB / 1.119 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.9637, allocations: 3.055 MB / 1.122 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.9647, allocations: 99.36 kB / 1.122 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.9648, allocations: 20 kB / 1.122 GB, free: 2.105 MB / 0.7481 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.0005624/0.9653, allocations: 274.9 kB / 1.122 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.9659, allocations: 143.1 kB / 1.122 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.9663, allocations: 128 kB / 1.123 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9663, allocations: 8 kB / 1.123 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.9663, allocations: 7.938 kB / 1.123 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.9663, allocations: 4 kB / 1.123 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004293/0.9706, allocations: 2.484 MB / 1.125 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.9706, allocations: 7.938 kB / 1.125 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.9708, allocations: 48.59 kB / 1.125 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.971, allocations: 73.67 kB / 1.125 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.971, allocations: 12 kB / 1.125 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.9739, allocations: 3.062 MB / 1.128 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/0.9739, allocations: 8 kB / 1.128 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.9751, allocations: 0.686 MB / 1.129 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.9757, allocations: 179 kB / 1.129 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.976, allocations: 15.98 kB / 1.129 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/0.9768, allocations: 39.95 kB / 1.129 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9769, allocations: 47.83 kB / 1.129 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.9769, allocations: 12 kB / 1.129 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001503/0.9784, allocations: 0.8802 MB / 1.13 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/0.9784, allocations: 0 / 1.13 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001258/0.9797, allocations: 259.8 kB / 1.13 GB, free: 9.277 MB / 0.7637 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.00176/0.9814, allocations: 1.32 MB / 1.132 GB, free: 7.863 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.9826, allocations: 0.5242 MB / 1.132 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9826, allocations: 0 / 1.132 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.9832, allocations: 399 kB / 1.132 GB, free: 6.898 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/0.9873, allocations: 0.7397 MB / 1.133 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.001, allocations: 8.252 MB / 1.141 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009299/1.002, allocations: 1.138 MB / 1.142 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000894/1.003, allocations: 238.5 kB / 1.143 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/1.003, allocations: 435.3 kB / 1.143 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of SimCode: time 1.202e-06/1.003, allocations: 0 / 1.143 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08429/1.087, allocations: 34.62 MB / 1.177 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.8, allocations: 8.875 kB / 1.177 GB, free: 9.645 MB / 0.8106 GB " [Timeout remaining time 645] (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: 19.170888243999798] Failed to read output from testmodel.py, exit status != 0: 14.981431241030805 14.999123104 14.060777992 Calling exit ...