Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.000851/0.000851, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008187/0.0008187, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.00144/0.00144, allocations: 238 kB / 259.4 MB, free: 13.02 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.6393/0.6393, allocations: 138.4 MB / 454.3 MB, free: 1.652 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.848e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001371/0.00139, allocations: 1.277 MB / 0.6475 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.003758, allocations: 3.081 MB / 0.6505 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.003794, allocations: 1.25 kB / 0.6505 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.003811, allocations: 0 / 0.6505 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.003856, allocations: 5.547 kB / 0.6505 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.004339, allocations: 122.1 kB / 0.6506 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.004405, allocations: 33.58 kB / 0.6507 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.00444, allocations: 1.219 kB / 0.6507 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.004491, allocations: 28.05 kB / 0.6507 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.004542, allocations: 11.16 kB / 0.6507 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.004554, allocations: 5.406 kB / 0.6507 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.004719, allocations: 66.05 kB / 0.6508 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.004733, allocations: 10.64 kB / 0.6508 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.004754, allocations: 14.86 kB / 0.6508 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004892, allocations: 71.52 kB / 0.6509 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004896, allocations: 0 / 0.6509 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.004897, allocations: 1.094 kB / 0.6509 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004902, allocations: 0 / 0.6509 GB, free: 25.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002721/0.005174, allocations: 271.4 kB / 0.6511 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.005214, allocations: 10.62 kB / 0.6511 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.699e-05/0.005241, allocations: 31.94 kB / 0.6512 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.005314, allocations: 9.359 kB / 0.6512 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.663e-05/0.005361, allocations: 110.9 kB / 0.6513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005372, allocations: 6.344 kB / 0.6513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.005392, allocations: 8.062 kB / 0.6513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.005493, allocations: 136.2 kB / 0.6514 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.0055, allocations: 192 / 0.6514 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.005511, allocations: 5.469 kB / 0.6514 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.005515, allocations: 0 / 0.6514 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.005554, allocations: 21.66 kB / 0.6514 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.852e-05/0.005652, allocations: 134.2 kB / 0.6516 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.005723, allocations: 46.97 kB / 0.6516 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.005745, allocations: 17.88 kB / 0.6516 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.006151, allocations: 245 kB / 0.6519 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.006163, allocations: 35.88 kB / 0.6519 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.006164, allocations: 1 kB / 0.6519 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0004457/0.00661, allocations: 223.8 kB / 0.6521 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.006631, allocations: 52.78 kB / 0.6522 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.011e-05/0.006671, allocations: 101.9 kB / 0.6523 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.006677, allocations: 27.02 kB / 0.6523 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.006697, allocations: 85.47 kB / 0.6524 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.006707, allocations: 30.39 kB / 0.6524 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.006736, allocations: 25.34 kB / 0.6524 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.604e-05/0.006762, allocations: 325.5 kB / 0.6527 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.006781, allocations: 16.14 kB / 0.6528 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.006813, allocations: 61.14 kB / 0.6528 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.05e-05/0.006874, allocations: 76.67 kB / 0.6529 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.006875, allocations: 0 / 0.6529 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.112e-05/0.006966, allocations: 102.9 kB / 0.653 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.00698, allocations: 7.219 kB / 0.653 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006985, allocations: 1.25 kB / 0.653 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.006999, allocations: 2.875 kB / 0.653 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.007049, allocations: 20.02 kB / 0.653 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.007055, allocations: 5.688 kB / 0.653 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.007078, allocations: 3.188 kB / 0.653 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.007084, allocations: 3.594 kB / 0.653 GB, free: 23.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.007141, allocations: 118 kB / 0.6531 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.007157, allocations: 5.797 kB / 0.6531 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.007178, allocations: 13.94 kB / 0.6532 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00718, allocations: 0 / 0.6532 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.007184, allocations: 1.781 kB / 0.6532 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007186, allocations: 0 / 0.6532 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.00731, allocations: 144.9 kB / 0.6533 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007311, allocations: 0 / 0.6533 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.007357, allocations: 21.77 kB / 0.6533 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.007359, allocations: 0 / 0.6533 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007367, allocations: 1.562 kB / 0.6533 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007368, allocations: 0 / 0.6533 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007369, allocations: 0 / 0.6533 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.007485, allocations: 185.9 kB / 0.6535 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.007508, allocations: 8.109 kB / 0.6535 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.007519, allocations: 0 / 0.6535 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.007574, allocations: 10.75 kB / 0.6535 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.007588, allocations: 1.562 kB / 0.6535 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.007594, allocations: 3.062 kB / 0.6535 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.471e-05/0.007608, allocations: 80.67 kB / 0.6536 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007608, allocations: 1.219 kB / 0.6536 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001672/0.007776, allocations: 18.59 kB / 0.6536 GB, free: 22.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002202/0.007996, allocations: 0.7115 MB / 0.6543 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.008095, allocations: 36.38 kB / 0.6543 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008097, allocations: 1.125 kB / 0.6543 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.008113, allocations: 17.92 kB / 0.6544 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.008354, allocations: 10.17 kB / 0.6544 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.009107, allocations: 1.477 MB / 0.6558 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.33e-05/0.00914, allocations: 65.53 kB / 0.6559 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.492e-05/0.009175, allocations: 15.73 kB / 0.6559 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.009208, allocations: 12.47 kB / 0.6559 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/0.009209, allocations: 0 / 0.6559 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.02268, allocations: 2.342 MB / 0.6582 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.256/6.278, allocations: 10.83 kB / 0.6582 GB, free: 18.87 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.921954086050391] Failed to read output from testmodel.py, exit status != 0: 6.356086840853095 6.36197298 6.3557246229999995 Calling exit ...