Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.5 kB / 16.27 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 190.7 kB / 17.2 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7735/0.7735, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.4912 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4078, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002951/0.4108, allocations: 1.253 MB / 0.5685 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.4143, allocations: 3.253 MB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.4143, allocations: 0.5625 kB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.4144, allocations: 1.297 kB / 0.5717 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.4144, allocations: 11.19 kB / 0.5717 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.4149, allocations: 105 kB / 0.5718 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.415, allocations: 40.05 kB / 0.5718 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.4151, allocations: 7.234 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.4151, allocations: 16.75 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.4152, allocations: 16.81 kB / 0.5719 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.4152, allocations: 3.75 kB / 0.5719 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.4154, allocations: 80.2 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.4155, allocations: 9.891 kB / 0.5719 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.4155, allocations: 20.55 kB / 0.572 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.4157, allocations: 66.58 kB / 0.572 GB, free: 29.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4157, allocations: 1.281 kB / 0.572 GB, free: 29.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4157, allocations: 0.9375 kB / 0.572 GB, free: 29.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4157, allocations: 0 / 0.572 GB, free: 29.4 MB / 446.1 MB 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.0003518/0.4161, allocations: 348.3 kB / 0.5724 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4162, allocations: 11.53 kB / 0.5724 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.4162, allocations: 42.31 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.4163, allocations: 4.938 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.4164, allocations: 162.1 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4164, allocations: 6.453 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4164, allocations: 9.688 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.4166, allocations: 53.88 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4166, allocations: 0.5938 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4166, allocations: 6.75 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4166, allocations: 0 / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.4167, allocations: 20.34 kB / 0.5727 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.4168, allocations: 168.2 kB / 0.5728 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.4169, allocations: 49.03 kB / 0.5729 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.417, allocations: 23.5 kB / 0.5729 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000571/0.4175, allocations: 0.5961 MB / 0.5735 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.4176, allocations: 42.58 kB / 0.5735 GB, free: 27.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4176, allocations: 0 / 0.5735 GB, free: 27.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005327/0.4181, allocations: 297.6 kB / 0.5738 GB, free: 27.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.4182, allocations: 51.41 kB / 0.5739 GB, free: 27.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.95e-05/0.4182, allocations: 102.4 kB / 0.574 GB, free: 27.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4182, allocations: 30.89 kB / 0.574 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.4183, allocations: 86.05 kB / 0.5741 GB, free: 27.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.4183, allocations: 26.14 kB / 0.5741 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4183, allocations: 28.03 kB / 0.5741 GB, free: 27.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.4184, allocations: 315.6 kB / 0.5744 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.4184, allocations: 12.75 kB / 0.5744 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.4185, allocations: 54.55 kB / 0.5745 GB, free: 26.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.4185, allocations: 75.56 kB / 0.5746 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4186, allocations: 1.188 kB / 0.5746 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.4187, allocations: 99.03 kB / 0.5746 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4187, allocations: 6.688 kB / 0.5747 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4187, allocations: 2.719 kB / 0.5747 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4187, allocations: 2.562 kB / 0.5747 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.4188, allocations: 19.44 kB / 0.5747 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4188, allocations: 2.188 kB / 0.5747 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.4189, allocations: 9.875 kB / 0.5747 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4189, allocations: 9.438 kB / 0.5747 GB, free: 26.7 MB / 446.1 MB 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.477e-05/0.4189, allocations: 115.3 kB / 0.5748 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.419, allocations: 3.578 kB / 0.5748 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.419, allocations: 10.23 kB / 0.5748 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.419, allocations: 0 / 0.5748 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.419, allocations: 5.344 kB / 0.5748 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.419, allocations: 5.828 kB / 0.5748 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4192, allocations: 181 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4192, allocations: 0.5625 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.4193, allocations: 15.73 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4193, allocations: 1.906 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4193, allocations: 1.094 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4194, allocations: 1.969 kB / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4194, allocations: 80 / 0.575 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.4195, allocations: 182.7 kB / 0.5752 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.4195, allocations: 82.41 kB / 0.5753 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4196, allocations: 7.156 kB / 0.5753 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4197, allocations: 5.531 kB / 0.5753 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.4197, allocations: 10.08 kB / 0.5753 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.4197, allocations: 2.75 kB / 0.5753 GB, free: 26.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.151e-05/0.4197, allocations: 77.22 kB / 0.5754 GB, free: 26.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4197, allocations: 1.781 kB / 0.5754 GB, free: 26.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.42, allocations: 14.12 kB / 0.5754 GB, free: 26.02 MB / 446.1 MB 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.0002893/0.4203, allocations: 0.7206 MB / 0.5761 GB, free: 25.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.4204, allocations: 42.86 kB / 0.5761 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4204, allocations: 0 / 0.5761 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.4205, allocations: 18.75 kB / 0.5762 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.4207, allocations: 11.66 kB / 0.5762 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.4218, allocations: 1.522 MB / 0.5777 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.422, allocations: 0.6837 MB / 0.5783 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.422, allocations: 8.734 kB / 0.5783 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.4221, allocations: 15.58 kB / 0.5783 GB, free: 23.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4221, allocations: 0 / 0.5783 GB, free: 23.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.4469, allocations: 1.61 MB / 0.5799 GB, free: 22.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.172, allocations: 6.391 kB / 0.5799 GB, free: 22.83 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)