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.001249/0.001249, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001375/0.001375, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002588/0.002588, allocations: 285.5 kB / 313.5 MB, free: 2.629 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.258/1.258, allocations: 180.6 MB / 0.5377 GB, free: 14.49 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.002767/0.002767, allocations: 105.8 kB / 0.7403 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.18, allocations: 95.38 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6715/0.8515, allocations: 214.7 MB / 1.043 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.8664, allocations: 12.54 MB / 1.055 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.8689, allocations: 90.44 kB / 1.055 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.8717, allocations: 0.95 MB / 1.056 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.8765, allocations: 1.878 MB / 1.058 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.8794, allocations: 1.291 MB / 1.059 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003813/0.8832, allocations: 3.308 MB / 1.063 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.8844, allocations: 0.8148 MB / 1.063 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008548/0.8929, allocations: 4.233 MB / 1.068 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.8945, allocations: 0.9598 MB / 1.069 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.8948, allocations: 80.67 kB / 1.069 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.8963, allocations: 0.6012 MB / 1.069 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.8967, allocations: 454.6 kB / 1.07 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.8974, allocations: 0.5606 MB / 1.07 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.8995, allocations: 1.541 MB / 1.072 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8995, allocations: 0 / 1.072 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8995, allocations: 0 / 1.072 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.8996, allocations: 0 / 1.072 GB, free: 15.56 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.002295/0.9019, allocations: 1.596 MB / 1.073 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9019, allocations: 12.72 kB / 1.073 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.97e-05/0.9019, allocations: 19.03 kB / 1.073 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.9021, allocations: 125.6 kB / 1.073 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.9027, allocations: 205.2 kB / 1.074 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.9042, allocations: 0.8275 MB / 1.074 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.9044, allocations: 180.7 kB / 1.075 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.9045, allocations: 82.69 kB / 1.075 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.9059, allocations: 1.018 MB / 1.076 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.9059, allocations: 4.719 kB / 1.076 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.906, allocations: 40.06 kB / 1.076 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.906, allocations: 22.44 kB / 1.076 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.9069, allocations: 0.5043 MB / 1.076 GB, free: 12.81 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.004701/0.9116, allocations: 3.985 MB / 1.08 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005967/0.9122, allocations: 401 kB / 1.08 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.9125, allocations: 252.6 kB / 1.081 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.9127, allocations: 31.27 kB / 1.081 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.9127, allocations: 56.33 kB / 1.081 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.9127, allocations: 2.219 kB / 1.081 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001714/0.9144, allocations: 0.6363 MB / 1.081 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000228/0.9146, allocations: 399.9 kB / 1.082 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.9161, allocations: 1.27 MB / 1.083 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.9162, allocations: 38.52 kB / 1.083 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.9167, allocations: 0.5478 MB / 1.084 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.9168, allocations: 116.3 kB / 1.084 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.9169, allocations: 85 kB / 1.084 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.917, allocations: 316.6 kB / 1.084 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.9172, allocations: 94.14 kB / 1.084 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.918, allocations: 0.9884 MB / 1.085 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.9185, allocations: 327.3 kB / 1.085 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9185, allocations: 3.938 kB / 1.085 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009133/0.9194, allocations: 0.493 MB / 1.086 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9194, allocations: 9.312 kB / 1.086 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.9194, allocations: 2.719 kB / 1.086 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.9198, allocations: 70.61 kB / 1.086 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.92, allocations: 56.41 kB / 1.086 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.9227, allocations: 3.046 MB / 1.089 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.9236, allocations: 101.5 kB / 1.089 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.9237, allocations: 21.88 kB / 1.089 GB, free: 1.586 MB / 0.7325 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.0004595/0.9241, allocations: 279.5 kB / 1.089 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.9245, allocations: 138.8 kB / 1.09 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.9247, allocations: 132.2 kB / 1.09 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9247, allocations: 8.188 kB / 1.09 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.9247, allocations: 3.469 kB / 1.09 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.9247, allocations: 9.094 kB / 1.09 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.9279, allocations: 2.408 MB / 1.092 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.9279, allocations: 5.969 kB / 1.092 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.9281, allocations: 43.48 kB / 1.092 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.9283, allocations: 74.55 kB / 1.092 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.9283, allocations: 10.75 kB / 1.092 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/0.9309, allocations: 3.045 MB / 1.095 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.9309, allocations: 6.125 kB / 1.095 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.932, allocations: 0.6869 MB / 1.096 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.9324, allocations: 179.4 kB / 1.096 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.9326, allocations: 12.88 kB / 1.096 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.9332, allocations: 49.31 kB / 1.096 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.9333, allocations: 36.98 kB / 1.096 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.9333, allocations: 17.84 kB / 1.096 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001101/0.9344, allocations: 0.8794 MB / 1.097 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9344, allocations: 0 / 1.097 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009386/0.9354, allocations: 263.6 kB / 1.097 GB, free: 10.95 MB / 0.7481 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.001463/0.9368, allocations: 1.309 MB / 1.099 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009401/0.9378, allocations: 0.5219 MB / 1.099 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9378, allocations: 0.6875 kB / 1.099 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.9384, allocations: 400.3 kB / 1.099 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.9415, allocations: 0.737 MB / 1.1 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.9535, allocations: 8.249 MB / 1.108 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.9542, allocations: 0.5411 MB / 1.109 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001115/0.9553, allocations: 238.5 kB / 1.109 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.956, allocations: 439.3 kB / 1.109 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of SimCode: time 2.595e-06/0.956, allocations: 4 kB / 1.109 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/1.036, allocations: 37.55 MB / 1.146 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.92, allocations: 12 kB / 1.146 GB, free: 13.6 MB / 0.795 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.292209638049826] Failed to read output from testmodel.py, exit status != 0: 15.108737115981057 15.132454846 14.228220503 Calling exit ...