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.0008443/0.0008443, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009234/0.0009234, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8674/0.8674, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.00145/0.00145, allocations: 229.8 kB / 259.4 MB, free: 13.04 MB / 250.7 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 0.6655/0.6655, allocations: 138.4 MB / 454.3 MB, free: 1.668 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.232e-05, allocations: 3.656 kB / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.1679/0.1679, allocations: 214.4 MB / 0.8557 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3238/0.4917, allocations: 12.52 MB / 0.868 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.4934, allocations: 85.59 kB / 0.868 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4954, allocations: 0.9641 MB / 0.869 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.4989, allocations: 1.927 MB / 0.8709 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5013, allocations: 1.421 MB / 0.8723 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003929/0.5052, allocations: 3.269 MB / 0.8754 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5062, allocations: 0.8036 MB / 0.8762 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007401/0.5136, allocations: 4.649 MB / 0.8808 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.5149, allocations: 0.8166 MB / 0.8816 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.5151, allocations: 75.75 kB / 0.8816 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5162, allocations: 0.6087 MB / 0.8822 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.5165, allocations: 479.4 kB / 0.8827 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.5169, allocations: 469.4 kB / 0.8831 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.5185, allocations: 1.518 MB / 0.8846 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5185, allocations: 0.625 kB / 0.8846 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5185, allocations: 0 / 0.8846 GB, free: 3.473 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.372e-05/0.5186, allocations: 1.531 kB / 0.8846 GB, free: 3.473 MB / 0.698 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.002098/0.5207, allocations: 1.582 MB / 0.8862 GB, free: 2.637 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5207, allocations: 10.09 kB / 0.8862 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.5208, allocations: 127.1 kB / 0.8863 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005441/0.5214, allocations: 207.9 kB / 0.8865 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.5226, allocations: 0.825 MB / 0.8873 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.5227, allocations: 173.8 kB / 0.8875 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.5228, allocations: 85.88 kB / 0.8875 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5238, allocations: 1.022 MB / 0.8885 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5239, allocations: 5.062 kB / 0.8886 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.7e-05/0.5239, allocations: 34.53 kB / 0.8886 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.5239, allocations: 20.31 kB / 0.8886 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.5247, allocations: 0.5095 MB / 0.8891 GB, free: 1.641 MB / 0.698 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.003244/0.5279, allocations: 3.965 MB / 0.893 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.5283, allocations: 407.7 kB / 0.8934 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.5286, allocations: 255 kB / 0.8936 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.5287, allocations: 25 kB / 0.8936 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5287, allocations: 53.86 kB / 0.8937 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.5287, allocations: 1.5 kB / 0.8937 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001177/0.5299, allocations: 0.6314 MB / 0.8943 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.53, allocations: 406.5 kB / 0.8947 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.531, allocations: 1.277 MB / 0.8959 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.5311, allocations: 34.58 kB / 0.896 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5313, allocations: 0.5529 MB / 0.8965 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.5314, allocations: 111.6 kB / 0.8966 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.5315, allocations: 81.69 kB / 0.8967 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.5315, allocations: 322.9 kB / 0.897 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.5317, allocations: 92.56 kB / 0.8971 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.5321, allocations: 0.9821 MB / 0.898 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.5324, allocations: 335.4 kB / 0.8984 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5324, allocations: 0 / 0.8984 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004984/0.5329, allocations: 0.491 MB / 0.8988 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5329, allocations: 8.625 kB / 0.8989 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5329, allocations: 4.938 kB / 0.8989 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.5331, allocations: 78.59 kB / 0.8989 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.5332, allocations: 52.02 kB / 0.899 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.535, allocations: 3.042 MB / 0.902 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.5355, allocations: 98.67 kB / 0.902 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5356, allocations: 22.38 kB / 0.9021 GB, free: 9.164 MB / 0.7136 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.0002539/0.5358, allocations: 273.3 kB / 0.9023 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.536, allocations: 144.2 kB / 0.9025 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.934e-05/0.5361, allocations: 126.8 kB / 0.9026 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5361, allocations: 6.281 kB / 0.9026 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5361, allocations: 6.125 kB / 0.9026 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5361, allocations: 6.594 kB / 0.9026 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.5381, allocations: 2.41 MB / 0.905 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5381, allocations: 6.5 kB / 0.905 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.5382, allocations: 48.39 kB / 0.905 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.5383, allocations: 73.48 kB / 0.9051 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5383, allocations: 12.25 kB / 0.9051 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.5397, allocations: 3.043 MB / 0.9081 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5397, allocations: 8.062 kB / 0.9081 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.5402, allocations: 0.6806 MB / 0.9087 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.5405, allocations: 176.6 kB / 0.9089 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/0.5405, allocations: 15.75 kB / 0.9089 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.5409, allocations: 41.55 kB / 0.909 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.5409, allocations: 45.98 kB / 0.909 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.5409, allocations: 17.12 kB / 0.909 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007223/0.5416, allocations: 0.8754 MB / 0.9099 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.5416, allocations: 1.125 kB / 0.9099 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006129/0.5423, allocations: 262.6 kB / 0.9101 GB, free: 4.117 MB / 0.7136 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.0008228/0.5431, allocations: 1.296 MB / 0.9114 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.5441, allocations: 0.5184 MB / 0.9119 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5441, allocations: 0 / 0.9119 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.5443, allocations: 400.1 kB / 0.9123 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5461, allocations: 0.7536 MB / 0.913 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/0.5537, allocations: 8.281 MB / 0.9211 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.554, allocations: 0.544 MB / 0.9216 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006543/0.5547, allocations: 244.4 kB / 0.9219 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.555, allocations: 441.3 kB / 0.9223 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/0.555, allocations: 0.7812 kB / 0.9223 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05957/0.6146, allocations: 38.1 MB / 0.9595 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.288, allocations: 7.875 kB / 0.9595 GB, free: 3.391 MB / 0.7292 GB " [Timeout remaining time 652] (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: 11.012746991589665] Failed to read output from testmodel.py, exit status != 0: 8.391089428216219 8.402901157 7.881793068 Calling exit ...