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.001882/0.001882, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001855/0.001855, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.969 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.002549/0.002549, allocations: 287.1 kB / 312.7 MB, free: 2.785 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.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",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.002923/0.002923, allocations: 98.53 kB / 0.7396 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1645, allocations: 95.38 MB / 0.8328 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7083/0.8728, allocations: 246.6 MB / 1.074 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.8907, allocations: 13.68 MB / 1.087 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003707/0.8944, allocations: 83.59 kB / 1.087 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.8979, allocations: 1.02 MB / 1.088 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.9037, allocations: 1.874 MB / 1.09 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.9073, allocations: 1.3 MB / 1.091 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005058/0.9124, allocations: 3.305 MB / 1.094 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9139, allocations: 0.8225 MB / 1.095 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.926, allocations: 4.35 MB / 1.099 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.9282, allocations: 0.9589 MB / 1.1 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.9284, allocations: 77.94 kB / 1.1 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.9304, allocations: 0.7489 MB / 1.101 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.9309, allocations: 455 kB / 1.102 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008806/0.9317, allocations: 0.6798 MB / 1.102 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/0.9339, allocations: 1.536 MB / 1.104 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.934, allocations: 3.984 kB / 1.104 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.934, allocations: 0 / 1.104 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.934, allocations: 0 / 1.104 GB, free: 4.035 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.002291/0.9363, allocations: 1.593 MB / 1.105 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9363, allocations: 11.88 kB / 1.105 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.9365, allocations: 122 kB / 1.105 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.9371, allocations: 206.6 kB / 1.106 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.9387, allocations: 0.8309 MB / 1.106 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.9389, allocations: 170.3 kB / 1.107 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.939, allocations: 91.62 kB / 1.107 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.9404, allocations: 0.9153 MB / 1.108 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9404, allocations: 9.547 kB / 1.108 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.9405, allocations: 32 kB / 1.108 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.9405, allocations: 21.5 kB / 1.108 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.9413, allocations: 0.5074 MB / 1.108 GB, free: 0.6992 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.00515/0.9465, allocations: 4.802 MB / 1.113 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.9471, allocations: 409.5 kB / 1.113 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003807/0.9475, allocations: 263.9 kB / 1.113 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.9477, allocations: 27.92 kB / 1.113 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.9477, allocations: 54.5 kB / 1.114 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.9477, allocations: 0 / 1.114 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001811/0.9495, allocations: 0.6331 MB / 1.114 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/0.9498, allocations: 401.5 kB / 1.115 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.9513, allocations: 1.263 MB / 1.116 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.9514, allocations: 45.77 kB / 1.116 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.9519, allocations: 0.5499 MB / 1.116 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.952, allocations: 115 kB / 1.116 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.9521, allocations: 85.64 kB / 1.117 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9523, allocations: 318 kB / 1.117 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.9525, allocations: 87.94 kB / 1.117 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.9529, allocations: 342.7 kB / 1.117 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.9534, allocations: 324.6 kB / 1.118 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.9534, allocations: 6.438 kB / 1.118 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000867/0.9543, allocations: 0.4982 MB / 1.118 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.9543, allocations: 7.938 kB / 1.118 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.9543, allocations: 4 kB / 1.118 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.9546, allocations: 69.67 kB / 1.118 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.9548, allocations: 59.94 kB / 1.118 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.9574, allocations: 3.052 MB / 1.121 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/0.9582, allocations: 107.3 kB / 1.121 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.9582, allocations: 20 kB / 1.121 GB, free: 2.199 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.0004093/0.9586, allocations: 280.1 kB / 1.122 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.959, allocations: 143 kB / 1.122 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.9592, allocations: 128 kB / 1.122 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.9592, allocations: 8 kB / 1.122 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9592, allocations: 4 kB / 1.122 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9592, allocations: 11.92 kB / 1.122 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.9625, allocations: 2.484 MB / 1.124 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.9625, allocations: 4.141 kB / 1.124 GB, free: 15 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.9627, allocations: 43.92 kB / 1.124 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.9629, allocations: 82.09 kB / 1.124 GB, free: 14.87 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.9629, allocations: 16 kB / 1.124 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.9656, allocations: 3.055 MB / 1.127 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.9657, allocations: 13.89 kB / 1.127 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.9667, allocations: 0.6822 MB / 1.128 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.9673, allocations: 179 kB / 1.128 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.9675, allocations: 12 kB / 1.128 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.9683, allocations: 39.95 kB / 1.128 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/0.9683, allocations: 47.75 kB / 1.128 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.9684, allocations: 16 kB / 1.128 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001507/0.9699, allocations: 0.8802 MB / 1.129 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.9699, allocations: 0 / 1.129 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001188/0.9711, allocations: 259.8 kB / 1.129 GB, free: 9.367 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.001577/0.9726, allocations: 1.308 MB / 1.131 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.9737, allocations: 0.5286 MB / 1.131 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.9737, allocations: 0 / 1.131 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.9743, allocations: 394.9 kB / 1.132 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.9778, allocations: 0.7504 MB / 1.132 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.9904, allocations: 8.237 MB / 1.14 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/0.9913, allocations: 1.142 MB / 1.142 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008253/0.9921, allocations: 238.5 kB / 1.142 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.9927, allocations: 443.3 kB / 1.142 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 7.31e-07/0.9927, allocations: 0 / 1.142 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/1.079, allocations: 34.58 MB / 1.176 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.73, allocations: 11.84 kB / 1.176 GB, free: 9.762 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 sys.exit(0), Time elapsed: 19.102315712952986] Failed to read output from testmodel.py, exit status != 0: 14.864377276971936 14.890551878 13.951612814 Calling exit ...