Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 185.6 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 97.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 10.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001298/0.2447, allocations: 0.9766 MB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.2476, allocations: 2.845 MB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.2477, allocations: 4 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.2477, allocations: 0 / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.2477, allocations: 3.984 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.2481, allocations: 91.7 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.86e-05/0.2482, allocations: 23.95 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.2482, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.2483, allocations: 15.94 kB / 0.904 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2484, allocations: 19.97 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2484, allocations: 4 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2486, allocations: 63.89 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2486, allocations: 11.98 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.2486, allocations: 29.7 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2487, allocations: 27.95 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2487, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2487, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2488, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 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.0003378/0.2491, allocations: 339.6 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2491, allocations: 15.97 kB / 0.9045 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.2492, allocations: 42.55 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.2493, allocations: 7.953 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.2494, allocations: 163 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2494, allocations: 0 / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.2494, allocations: 11.91 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2495, allocations: 49.67 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2496, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2496, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2496, allocations: 7.953 kB / 0.9048 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.2496, allocations: 23.91 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2498, allocations: 169.6 kB / 0.9049 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.2499, allocations: 50.56 kB / 0.905 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.2505, allocations: 0.5793 MB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2505, allocations: 50.5 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2505, allocations: 0 / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004911/0.251, allocations: 298.1 kB / 0.9059 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2511, allocations: 51.41 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/0.2511, allocations: 97.84 kB / 0.906 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2511, allocations: 29.7 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.2512, allocations: 99.97 kB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.2512, allocations: 15.72 kB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.2512, allocations: 0 / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.2512, allocations: 322.8 kB / 0.9065 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.2513, allocations: 12 kB / 0.9065 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.2513, allocations: 49.08 kB / 0.9065 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.2514, allocations: 27.94 kB / 0.9066 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2514, allocations: 0 / 0.9066 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001035/0.2515, allocations: 97.41 kB / 0.9067 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2515, allocations: 8 kB / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2515, allocations: 0 / 0.9067 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2515, allocations: 4 kB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.2516, allocations: 24.11 kB / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2516, allocations: 4 kB / 0.9067 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.2516, allocations: 4 kB / 0.9067 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2517, allocations: 4 kB / 0.9067 GB, free: 56.7 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.2517, allocations: 121.7 kB / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.2517, allocations: 3.953 kB / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.2518, allocations: 15.95 kB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2518, allocations: 0 / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2518, allocations: 0 / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2518, allocations: 4 kB / 0.9068 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.252, allocations: 173.7 kB / 0.907 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.252, allocations: 0 / 0.907 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2521, allocations: 19.94 kB / 0.907 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2521, allocations: 4 kB / 0.907 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2522, allocations: 3.953 kB / 0.907 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2522, allocations: 0 / 0.907 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2522, allocations: 448 / 0.907 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2523, allocations: 175.4 kB / 0.9072 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.2524, allocations: 85.14 kB / 0.9073 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2524, allocations: 0 / 0.9073 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2526, allocations: 15.95 kB / 0.9073 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.2526, allocations: 3.984 kB / 0.9073 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2526, allocations: 4 kB / 0.9073 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.2526, allocations: 75.28 kB / 0.9074 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2526, allocations: 4 kB / 0.9074 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003472/0.253, allocations: 12 kB / 0.9074 GB, free: 55.89 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002937/0.2533, allocations: 0.7128 MB / 0.9081 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.2534, allocations: 40.14 kB / 0.9081 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2534, allocations: 3.938 kB / 0.9081 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.2534, allocations: 24.47 kB / 0.9082 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.2536, allocations: 7.953 kB / 0.9082 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.2546, allocations: 1.427 MB / 0.9096 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2547, allocations: 0.6809 MB / 0.9102 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.124e-05/0.2548, allocations: 11.98 kB / 0.9102 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.2548, allocations: 15.5 kB / 0.9102 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2548, allocations: 0 / 0.9102 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.2661, allocations: 1.417 MB / 0.9116 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.2663, allocations: 177.3 kB / 0.9118 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.829, allocations: 0 / 0.9118 GB, free: 51.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)