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.0009568/0.0009568, allocations: 99.28 kB / 16.02 MB, free: 80 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.001148/0.001148, allocations: 185.2 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7279/0.7279, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 8 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003526/0.1836, allocations: 2.258 MB / 0.5623 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1857, allocations: 0.8649 MB / 0.5631 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.1862, allocations: 12 kB / 0.5631 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1865, allocations: 51.58 kB / 0.5632 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1868, allocations: 43.59 kB / 0.5632 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.1875, allocations: 215.8 kB / 0.5634 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007245/0.1883, allocations: 399.6 kB / 0.5638 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.1888, allocations: 225.1 kB / 0.564 GB, free: 4.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.189, allocations: 83.41 kB / 0.5641 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1893, allocations: 107.2 kB / 0.5642 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.1893, allocations: 8 kB / 0.5642 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.1894, allocations: 8 kB / 0.5642 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.1895, allocations: 35.78 kB / 0.5642 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.1897, allocations: 164.7 kB / 0.5644 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.1903, allocations: 0.553 MB / 0.5649 GB, free: 3.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1903, allocations: 4 kB / 0.5649 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1903, allocations: 0 / 0.5649 GB, free: 3.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.1904, allocations: 0 / 0.5649 GB, free: 3.887 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.001215/0.1916, allocations: 0.5806 MB / 0.5655 GB, free: 3.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.1917, allocations: 12.03 kB / 0.5655 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1918, allocations: 62.72 kB / 0.5656 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1919, allocations: 40.47 kB / 0.5656 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.1926, allocations: 383.2 kB / 0.566 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.1926, allocations: 24.94 kB / 0.566 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.1927, allocations: 24.38 kB / 0.566 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.1934, allocations: 333.5 kB / 0.5663 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1935, allocations: 0 / 0.5663 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1935, allocations: 15.98 kB / 0.5664 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1935, allocations: 4 kB / 0.5664 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.1941, allocations: 254.1 kB / 0.5666 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1961, allocations: 1.178 MB / 0.5678 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.1969, allocations: 250.8 kB / 0.568 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1972, allocations: 99.08 kB / 0.5681 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1972, allocations: 11.94 kB / 0.5681 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.1973, allocations: 38.56 kB / 0.5681 GB, free: 432 kB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1973, allocations: 3.938 kB / 0.5681 GB, free: 428 kB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001041/0.1983, allocations: 309.2 kB / 0.5684 GB, free: 112 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.1984, allocations: 81.11 kB / 0.5685 GB, free: 12 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.199, allocations: 332.5 kB / 0.5688 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1991, allocations: 29.7 kB / 0.5689 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.1993, allocations: 200 kB / 0.569 GB, free: 15.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1994, allocations: 51.2 kB / 0.5691 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.1995, allocations: 29.7 kB / 0.5691 GB, free: 15.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1997, allocations: 342.8 kB / 0.5694 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.2, allocations: 87.97 kB / 0.5695 GB, free: 14.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.2003, allocations: 125.3 kB / 0.5697 GB, free: 14.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.201, allocations: 190.6 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.201, allocations: 3.938 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000749/0.2017, allocations: 275.3 kB / 0.5701 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.2018, allocations: 106.8 kB / 0.5702 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2019, allocations: 7.938 kB / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2019, allocations: 0 / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.2022, allocations: 31.98 kB / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2022, allocations: 0 / 0.5702 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2024, allocations: 31.77 kB / 0.5703 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.2024, allocations: 8 kB / 0.5703 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2025, allocations: 4 kB / 0.5703 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003629/0.2028, allocations: 182.2 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2029, allocations: 3.984 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.2029, allocations: 4 kB / 0.5705 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.203, allocations: 28.06 kB / 0.5705 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.203, allocations: 4 kB / 0.5705 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2031, allocations: 19.83 kB / 0.5705 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2032, allocations: 8 kB / 0.5705 GB, free: 13.88 MB / 446.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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.2034, allocations: 243.4 kB / 0.5708 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2034, allocations: 35.56 kB / 0.5708 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.2035, allocations: 35.28 kB / 0.5708 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2035, allocations: 0 / 0.5708 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2035, allocations: 4 kB / 0.5708 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2035, allocations: 0 / 0.5708 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.204, allocations: 413.2 kB / 0.5712 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.204, allocations: 4 kB / 0.5712 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.2042, allocations: 27.97 kB / 0.5712 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2042, allocations: 0 / 0.5712 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2042, allocations: 8 kB / 0.5713 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2042, allocations: 3.938 kB / 0.5713 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2042, allocations: 0 / 0.5713 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.205, allocations: 461 kB / 0.5717 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.2051, allocations: 132.7 kB / 0.5718 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.2052, allocations: 0 / 0.5718 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.2053, allocations: 19.97 kB / 0.5718 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.2054, allocations: 11.98 kB / 0.5719 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.2054, allocations: 12 kB / 0.5719 GB, free: 12.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.2057, allocations: 235 kB / 0.5721 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2057, allocations: 0 / 0.5721 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.2061, allocations: 91.75 kB / 0.5722 GB, free: 12.09 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 (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.001027/0.2072, allocations: 0.9853 MB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006115/0.2078, allocations: 299.9 kB / 0.5734 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2078, allocations: 0 / 0.5734 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.208, allocations: 100.6 kB / 0.5735 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.2086, allocations: 82.97 kB / 0.5736 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.2136, allocations: 3.09 MB / 0.5766 GB, free: 7.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.2139, allocations: 0.7793 MB / 0.5774 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.2141, allocations: 30.28 kB / 0.5774 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2143, allocations: 103.4 kB / 0.5775 GB, free: 6.496 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2143, allocations: 0 / 0.5775 GB, free: 6.496 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.3505, allocations: 6.143 MB / 0.5835 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.3508, allocations: 212 kB / 0.5837 GB, free: 272 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.429, allocations: 0 / 0.5837 GB, free: 272 kB / 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/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)