Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.001054/0.001054, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5046/0.5046, allocations: 90.91 MB / 99.34 MB, free: 2.176 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.689/1.689, allocations: 221.5 MB / 343.2 MB, free: 1.586 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.0008766/0.0008766, allocations: 99.83 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.05e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1633, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/0.6993, allocations: 100.8 MB / 0.6521 GB, free: 9.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.6995, allocations: 70.34 kB / 0.6521 GB, free: 9.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002938/0.7025, allocations: 1.084 MB / 0.6532 GB, free: 8.445 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.7025, allocations: 4 kB / 0.6532 GB, free: 8.441 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.7025, allocations: 0 / 0.6532 GB, free: 8.441 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004349/0.7029, allocations: 373.4 kB / 0.6536 GB, free: 8.035 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.703, allocations: 8.031 kB / 0.6536 GB, free: 8.027 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.703, allocations: 15.23 kB / 0.6536 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7032, allocations: 182.9 kB / 0.6538 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.7032, allocations: 0 / 0.6538 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.7032, allocations: 4 kB / 0.6538 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001031/0.7033, allocations: 29.17 kB / 0.6538 GB, free: 7.773 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.7034, allocations: 52.61 kB / 0.6538 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7034, allocations: 0 / 0.6538 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7035, allocations: 0.75 kB / 0.6538 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.7035, allocations: 3.953 kB / 0.6538 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.704, allocations: 303.8 kB / 0.6541 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.7041, allocations: 44.8 kB / 0.6542 GB, free: 7.355 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.7041, allocations: 19.11 kB / 0.6542 GB, free: 7.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.7043, allocations: 111.8 kB / 0.6543 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.7044, allocations: 36.06 kB / 0.6543 GB, free: 7.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7044, allocations: 0 / 0.6543 GB, free: 7.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002577/0.7046, allocations: 79.12 kB / 0.6544 GB, free: 7.102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.7047, allocations: 51.41 kB / 0.6545 GB, free: 7.039 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.7048, allocations: 121.8 kB / 0.6546 GB, free: 6.922 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.7048, allocations: 25.7 kB / 0.6546 GB, free: 6.891 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.7049, allocations: 98.94 kB / 0.6547 GB, free: 6.797 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.7049, allocations: 7.469 kB / 0.6547 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.7049, allocations: 0 / 0.6547 GB, free: 6.793 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.705, allocations: 314.8 kB / 0.655 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.7051, allocations: 19.61 kB / 0.655 GB, free: 6.465 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.7051, allocations: 11.06 kB / 0.655 GB, free: 6.457 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.7052, allocations: 26.66 kB / 0.6551 GB, free: 6.438 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7052, allocations: 0 / 0.6551 GB, free: 6.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001559/0.7054, allocations: 68.45 kB / 0.6551 GB, free: 6.371 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.7054, allocations: 12 kB / 0.6551 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7054, allocations: 0 / 0.6551 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.7054, allocations: 0 / 0.6551 GB, free: 6.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.7056, allocations: 27.59 kB / 0.6552 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7056, allocations: 0 / 0.6552 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.7057, allocations: 23.94 kB / 0.6552 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.7057, allocations: 0 / 0.6552 GB, free: 6.312 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.554e-05/0.7058, allocations: 108.9 kB / 0.6553 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001506/0.7059, allocations: 80.25 kB / 0.6554 GB, free: 6.125 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.706, allocations: 4 kB / 0.6554 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.7062, allocations: 83.06 kB / 0.6554 GB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.7062, allocations: 3.953 kB / 0.6554 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7062, allocations: 4 kB / 0.6555 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7062, allocations: 0 / 0.6555 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.7063, allocations: 157.5 kB / 0.6556 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7064, allocations: 288 / 0.6556 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7065, allocations: 27.91 kB / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7065, allocations: 0 / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.7065, allocations: 0 / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7065, allocations: 0.875 kB / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7065, allocations: 0 / 0.6556 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.7067, allocations: 180.8 kB / 0.6558 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.7068, allocations: 88.94 kB / 0.6559 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7068, allocations: 4 kB / 0.6559 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7069, allocations: 15.98 kB / 0.6559 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.7069, allocations: 3.984 kB / 0.6559 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.707, allocations: 8 kB / 0.6559 GB, free: 5.508 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.668e-05/0.707, allocations: 94.28 kB / 0.656 GB, free: 5.422 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.707, allocations: 0 / 0.656 GB, free: 5.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.7072, allocations: 19.89 kB / 0.656 GB, free: 5.402 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 (3): * Single equations (assignments): 3 * 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.0004817/0.7077, allocations: 0.7092 MB / 0.6567 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.533e-05/0.7078, allocations: 33.23 kB / 0.6568 GB, free: 4.656 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7078, allocations: 4 kB / 0.6568 GB, free: 4.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.7079, allocations: 18.56 kB / 0.6568 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.708, allocations: 0 / 0.6568 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.7084, allocations: 136 kB / 0.6569 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.7087, allocations: 0.6923 MB / 0.6576 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.7087, allocations: 0 / 0.6576 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.7088, allocations: 24.73 kB / 0.6576 GB, free: 3.742 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7088, allocations: 4 kB / 0.6576 GB, free: 3.738 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.7275, allocations: 1.198 MB / 0.6588 GB, free: 2.551 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.7278, allocations: 133.8 kB / 0.6589 GB, free: 2.359 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.202, allocations: 4 kB / 0.6589 GB, free: 2.355 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)