Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",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.001425/0.001426, allocations: 96.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 174.8 kB / 16.57 MB, free: 6.398 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.016/3.016, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.183/1.183, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005931/0.0005932, allocations: 8 kB / 493 MB, free: 8.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3031, allocations: 77.12 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.005491/0.3086, allocations: 2.169 MB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.3114, allocations: 0.8458 MB / 0.5597 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.3118, allocations: 8 kB / 0.5597 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.3119, allocations: 27.66 kB / 0.5597 GB, free: 8.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.3125, allocations: 75.75 kB / 0.5598 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.3132, allocations: 139.7 kB / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.3139, allocations: 256.2 kB / 0.5602 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.3143, allocations: 140.4 kB / 0.5603 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.3145, allocations: 83.52 kB / 0.5604 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.3148, allocations: 103.3 kB / 0.5605 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3148, allocations: 8 kB / 0.5605 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.3149, allocations: 12 kB / 0.5605 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.315, allocations: 35.78 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3151, allocations: 89.52 kB / 0.5606 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007718/0.3159, allocations: 491 kB / 0.5611 GB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3159, allocations: 0 / 0.5611 GB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.316, allocations: 4 kB / 0.5611 GB, free: 7.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.316, allocations: 0 / 0.5611 GB, free: 7.23 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00145/0.3174, allocations: 0.5843 MB / 0.5616 GB, free: 6.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/0.3175, allocations: 8.031 kB / 0.5617 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3177, allocations: 66.53 kB / 0.5617 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3178, allocations: 39.53 kB / 0.5618 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.3186, allocations: 362.2 kB / 0.5621 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.3187, allocations: 20.56 kB / 0.5621 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/0.3188, allocations: 35.95 kB / 0.5622 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.32, allocations: 317.4 kB / 0.5625 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.32, allocations: 7.938 kB / 0.5625 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.3201, allocations: 15.92 kB / 0.5625 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.3201, allocations: 8 kB / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.321, allocations: 246.2 kB / 0.5627 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.3241, allocations: 1.178 MB / 0.5639 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3253, allocations: 250.8 kB / 0.5641 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.3254, allocations: 8 kB / 0.5641 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.3254, allocations: 30.56 kB / 0.5641 GB, free: 3.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 8.175e-06/0.3254, allocations: 3.984 kB / 0.5642 GB, free: 3.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001339/0.3268, allocations: 317.5 kB / 0.5645 GB, free: 3.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.3269, allocations: 89.03 kB / 0.5645 GB, free: 3.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.3276, allocations: 320.6 kB / 0.5648 GB, free: 3.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.3277, allocations: 25.7 kB / 0.5649 GB, free: 3.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.328, allocations: 196.1 kB / 0.5651 GB, free: 2.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.3281, allocations: 59.19 kB / 0.5651 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.3281, allocations: 0 / 0.5651 GB, free: 2.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.3283, allocations: 350.8 kB / 0.5654 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3287, allocations: 83.97 kB / 0.5655 GB, free: 2.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.329, allocations: 123.4 kB / 0.5656 GB, free: 2.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.3294, allocations: 91.98 kB / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3294, allocations: 0 / 0.5657 GB, free: 2.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007993/0.3302, allocations: 265.1 kB / 0.566 GB, free: 1.934 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003569/0.3306, allocations: 277.3 kB / 0.5663 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3306, allocations: 0 / 0.5663 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3306, allocations: 4 kB / 0.5663 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.3309, allocations: 35.92 kB / 0.5663 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3309, allocations: 7.984 kB / 0.5663 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3312, allocations: 23.83 kB / 0.5663 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3312, allocations: 8 kB / 0.5663 GB, free: 1.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3312, allocations: 4 kB / 0.5663 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004735/0.3317, allocations: 179.8 kB / 0.5665 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/0.3317, allocations: 0 / 0.5665 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.3317, allocations: 0 / 0.5665 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3319, allocations: 31.92 kB / 0.5665 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.332, allocations: 3.938 kB / 0.5665 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3321, allocations: 31.8 kB / 0.5666 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3321, allocations: 4 kB / 0.5666 GB, free: 1.316 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0003325/0.3325, allocations: 247.1 kB / 0.5668 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3326, allocations: 31.62 kB / 0.5668 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3327, allocations: 31.28 kB / 0.5669 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3327, allocations: 4 kB / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3327, allocations: 0 / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3327, allocations: 3.953 kB / 0.5669 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.3335, allocations: 405.3 kB / 0.5673 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3335, allocations: 4 kB / 0.5673 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.3338, allocations: 31.98 kB / 0.5673 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3339, allocations: 0 / 0.5673 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3339, allocations: 3.938 kB / 0.5673 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3339, allocations: 4 kB / 0.5673 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3339, allocations: 0 / 0.5673 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007733/0.3347, allocations: 459.9 kB / 0.5677 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3349, allocations: 132.7 kB / 0.5679 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.3349, allocations: 8 kB / 0.5679 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3351, allocations: 16.06 kB / 0.5679 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.3352, allocations: 7.984 kB / 0.5679 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3352, allocations: 7.984 kB / 0.5679 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.3355, allocations: 231.1 kB / 0.5681 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3355, allocations: 0 / 0.5681 GB, free: 15.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006297/0.3362, allocations: 87.59 kB / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001654/0.3379, allocations: 0.9872 MB / 0.5692 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009368/0.3388, allocations: 302.4 kB / 0.5695 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3388, allocations: 0 / 0.5695 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3392, allocations: 101.9 kB / 0.5696 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.3401, allocations: 84.8 kB / 0.5696 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/0.3454, allocations: 2.073 MB / 0.5717 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.3461, allocations: 0.7794 MB / 0.5724 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000246/0.3464, allocations: 26.28 kB / 0.5725 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.3466, allocations: 103.4 kB / 0.5726 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3467, allocations: 0 / 0.5726 GB, free: 11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3807, allocations: 6.027 MB / 0.5784 GB, free: 5.152 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.3812, allocations: 188.6 kB / 0.5786 GB, free: 4.906 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/3.7, allocations: 0 / 0.5786 GB, free: 4.906 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: