Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.002292/0.002292, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.002484/0.002484, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.238/3.238, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.224/1.224, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 60.89 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2437, allocations: 76.19 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.002603/0.2464, allocations: 0.5999 MB / 0.6322 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.2492, allocations: 1.381 MB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.2493, allocations: 3.938 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.721e-05/0.2495, allocations: 0 / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.2495, allocations: 7.984 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.2507, allocations: 179.5 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.2509, allocations: 55.89 kB / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.251, allocations: 0 / 0.6338 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.2511, allocations: 19.98 kB / 0.6338 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2512, allocations: 27.89 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.2513, allocations: 4 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.2518, allocations: 195.7 kB / 0.634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.2519, allocations: 11.94 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.252, allocations: 27.86 kB / 0.6341 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.2524, allocations: 194.3 kB / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2525, allocations: 0 / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2525, allocations: 0 / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.2525, allocations: 0 / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006825/0.2532, allocations: 443.5 kB / 0.6347 GB, free: 1.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2532, allocations: 8.031 kB / 0.6347 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.2533, allocations: 34.75 kB / 0.6347 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.2534, allocations: 8.844 kB / 0.6347 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.2535, allocations: 172.2 kB / 0.6349 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2536, allocations: 12.36 kB / 0.6349 GB, free: 1.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.2536, allocations: 4.375 kB / 0.6349 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2539, allocations: 97.77 kB / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2539, allocations: 0 / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2539, allocations: 0 / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2539, allocations: 0 / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2541, allocations: 63.89 kB / 0.6351 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.2543, allocations: 177.6 kB / 0.6352 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2545, allocations: 82.52 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2546, allocations: 72.89 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2547, allocations: 0 / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.2547, allocations: 34.5 kB / 0.6354 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 5.861e-06/0.2547, allocations: 3.984 kB / 0.6354 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005728/0.2553, allocations: 259 kB / 0.6357 GB, free: 0.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.2554, allocations: 81.11 kB / 0.6358 GB, free: 412 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.2556, allocations: 147.3 kB / 0.6359 GB, free: 256 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2556, allocations: 29.73 kB / 0.6359 GB, free: 220 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.2557, allocations: 96.12 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2557, allocations: 7.812 kB / 0.636 GB, free: 112 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.2558, allocations: 25.72 kB / 0.636 GB, free: 80 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.256, allocations: 322.8 kB / 0.6364 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2562, allocations: 107.9 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2564, allocations: 103.9 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.2568, allocations: 281.6 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2568, allocations: 4.031 kB / 0.6368 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005489/0.2574, allocations: 324.8 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.2575, allocations: 73.42 kB / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2575, allocations: 0 / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2575, allocations: 0 / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.293e-06/0.2575, allocations: 0 / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2576, allocations: 0 / 0.6372 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2578, allocations: 15.92 kB / 0.6372 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2578, allocations: 4 kB / 0.6372 GB, free: 14.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001808/0.258, allocations: 151.6 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.258, allocations: 11.84 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.2581, allocations: 8.25 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2581, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2581, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2581, allocations: 0 / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2583, allocations: 173.6 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2583, allocations: 3.938 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.2583, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2583, allocations: 0 / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2583, allocations: 7.984 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2584, allocations: 7.938 kB / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2584, allocations: 0 / 0.6376 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.2588, allocations: 222.7 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.2589, allocations: 88.94 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.2589, allocations: 4 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.259, allocations: 3.938 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.2591, allocations: 11.98 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2591, allocations: 12.03 kB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.693e-05/0.2592, allocations: 103.2 kB / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2592, allocations: 0 / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005251/0.2597, allocations: 64 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001067/0.2608, allocations: 0.813 MB / 0.6389 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.2615, allocations: 374.7 kB / 0.6392 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2615, allocations: 0 / 0.6392 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.2617, allocations: 135.3 kB / 0.6393 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.262, allocations: 4 kB / 0.6393 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.2652, allocations: 2.147 MB / 0.6414 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2656, allocations: 0.6885 MB / 0.6421 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.638e-06/0.2656, allocations: 0 / 0.6421 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.2657, allocations: 19.44 kB / 0.6421 GB, free: 9.473 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2657, allocations: 0 / 0.6421 GB, free: 9.473 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/0.431, allocations: 3.347 MB / 0.6454 GB, free: 6.219 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.1, allocations: 13.78 kB / 0.6454 GB, free: 6.211 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)