Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 179 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.537/0.537, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 91.33 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 8 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5407/0.7002, allocations: 100 MB / 0.6513 GB, free: 9.953 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.7005, allocations: 76.08 kB / 0.6514 GB, free: 9.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001287/0.7018, allocations: 0.5535 MB / 0.6519 GB, free: 9.395 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7018, allocations: 4 kB / 0.6519 GB, free: 9.391 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.7019, allocations: 0 / 0.6519 GB, free: 9.391 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002851/0.7022, allocations: 344.8 kB / 0.6523 GB, free: 9.004 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7022, allocations: 12.03 kB / 0.6523 GB, free: 8.992 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.7022, allocations: 7.891 kB / 0.6523 GB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.7024, allocations: 167 kB / 0.6524 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7024, allocations: 4 kB / 0.6524 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.7024, allocations: 0 / 0.6524 GB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.898e-05/0.7025, allocations: 23.05 kB / 0.6525 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.7026, allocations: 54.05 kB / 0.6525 GB, free: 8.707 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7026, allocations: 3.938 kB / 0.6525 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.7026, allocations: 4 kB / 0.6525 GB, free: 8.699 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.7026, allocations: 15.31 kB / 0.6525 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.7029, allocations: 235.7 kB / 0.6528 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.703, allocations: 14.58 kB / 0.6528 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.703, allocations: 8.922 kB / 0.6528 GB, free: 8.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.703, allocations: 4 kB / 0.6528 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.7031, allocations: 40.64 kB / 0.6528 GB, free: 8.348 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.7031, allocations: 0 / 0.6528 GB, free: 8.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001625/0.7033, allocations: 41.62 kB / 0.6529 GB, free: 8.301 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7033, allocations: 77.11 kB / 0.6529 GB, free: 8.207 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/0.7034, allocations: 108.9 kB / 0.653 GB, free: 8.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7034, allocations: 25.7 kB / 0.6531 GB, free: 8.066 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.7035, allocations: 107 kB / 0.6532 GB, free: 7.961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.7035, allocations: 3.906 kB / 0.6532 GB, free: 7.957 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.7035, allocations: 0 / 0.6532 GB, free: 7.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7036, allocations: 318.3 kB / 0.6535 GB, free: 7.641 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.7036, allocations: 8 kB / 0.6535 GB, free: 7.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.7037, allocations: 54.73 kB / 0.6535 GB, free: 7.559 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.7037, allocations: 27.48 kB / 0.6536 GB, free: 7.535 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7037, allocations: 0 / 0.6536 GB, free: 7.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001316/0.7039, allocations: 80.73 kB / 0.6536 GB, free: 7.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.7039, allocations: 33.7 kB / 0.6537 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7039, allocations: 0 / 0.6537 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7039, allocations: 7.953 kB / 0.6537 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.704, allocations: 11 kB / 0.6537 GB, free: 7.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.704, allocations: 4 kB / 0.6537 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.7041, allocations: 11.84 kB / 0.6537 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7041, allocations: 11.92 kB / 0.6537 GB, free: 7.371 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.379e-05/0.7042, allocations: 138.8 kB / 0.6538 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.592e-05/0.7043, allocations: 36.83 kB / 0.6539 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.7043, allocations: 7.953 kB / 0.6539 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.7043, allocations: 7.953 kB / 0.6539 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7043, allocations: 0 / 0.6539 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7043, allocations: 4 kB / 0.6539 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7043, allocations: 0 / 0.6539 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.7045, allocations: 137.7 kB / 0.654 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7045, allocations: 0 / 0.654 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.7045, allocations: 0 / 0.654 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7045, allocations: 4.031 kB / 0.654 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.7045, allocations: 3.938 kB / 0.654 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7045, allocations: 3.953 kB / 0.654 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7045, allocations: 4 kB / 0.654 GB, free: 6.984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.7046, allocations: 135 kB / 0.6542 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.7047, allocations: 80.8 kB / 0.6543 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.7047, allocations: 4 kB / 0.6543 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.7048, allocations: 4.031 kB / 0.6543 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.7048, allocations: 3.953 kB / 0.6543 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7048, allocations: 4 kB / 0.6543 GB, free: 6.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.7048, allocations: 85.64 kB / 0.6543 GB, free: 6.648 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7048, allocations: 0 / 0.6543 GB, free: 6.648 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.7051, allocations: 12 kB / 0.6544 GB, free: 6.637 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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.0004061/0.7055, allocations: 0.6741 MB / 0.655 GB, free: 5.938 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.7056, allocations: 75.28 kB / 0.6551 GB, free: 5.855 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7056, allocations: 4 kB / 0.6551 GB, free: 5.852 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.7056, allocations: 58.58 kB / 0.6552 GB, free: 5.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.7058, allocations: 7.953 kB / 0.6552 GB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.7061, allocations: 113.5 kB / 0.6553 GB, free: 5.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.7064, allocations: 0.6846 MB / 0.6559 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.7064, allocations: 12.17 kB / 0.6559 GB, free: 4.906 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.7064, allocations: 7.438 kB / 0.656 GB, free: 4.898 MB / 458.7 MB Notification: Performance of SimCode: time 3.6e-07/0.7064, allocations: 0 / 0.656 GB, free: 4.898 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.7247, allocations: 0.9121 MB / 0.6568 GB, free: 4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.725, allocations: 156.4 kB / 0.657 GB, free: 3.805 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.289, allocations: 0 / 0.657 GB, free: 3.805 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)