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.001392/0.001392, allocations: 108 kB / 16.27 MB, free: 5.98 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.001426/0.001426, allocations: 192 kB / 17.2 MB, free: 5.609 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.147/1.147, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003401/0.3129, allocations: 2.595 MB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3142, allocations: 0.9103 MB / 0.5707 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3144, allocations: 11.19 kB / 0.5707 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.3146, allocations: 63.97 kB / 0.5708 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3148, allocations: 65.44 kB / 0.5708 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.3152, allocations: 234.1 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3157, allocations: 458.5 kB / 0.5715 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.316, allocations: 227.4 kB / 0.5717 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3161, allocations: 145.9 kB / 0.5719 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3163, allocations: 154.8 kB / 0.572 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.3164, allocations: 50.16 kB / 0.572 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.3164, allocations: 50.44 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.3165, allocations: 88.06 kB / 0.5722 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3167, allocations: 191.1 kB / 0.5724 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.3173, allocations: 0.6011 MB / 0.5729 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3173, allocations: 0 / 0.5729 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3173, allocations: 1.094 kB / 0.573 GB, free: 28.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3173, allocations: 1.281 kB / 0.573 GB, free: 28.85 MB / 446.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.0008263/0.3181, allocations: 0.6469 MB / 0.5736 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3182, allocations: 10.14 kB / 0.5736 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.3183, allocations: 62.31 kB / 0.5737 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.3183, allocations: 45.94 kB / 0.5737 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3187, allocations: 373.9 kB / 0.5741 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3187, allocations: 24.91 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.3188, allocations: 27.66 kB / 0.5741 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.3193, allocations: 329.1 kB / 0.5744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3193, allocations: 0 / 0.5744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.3194, allocations: 15.7 kB / 0.5744 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3194, allocations: 6.188 kB / 0.5744 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.3198, allocations: 235.9 kB / 0.5747 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3212, allocations: 1.172 MB / 0.5758 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.3218, allocations: 226.3 kB / 0.576 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.322, allocations: 107.5 kB / 0.5761 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.322, allocations: 2.5 kB / 0.5761 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3221, allocations: 34.06 kB / 0.5762 GB, free: 26.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3221, allocations: 0 / 0.5762 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007283/0.3228, allocations: 299.5 kB / 0.5764 GB, free: 26.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3229, allocations: 80.3 kB / 0.5765 GB, free: 26.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.3232, allocations: 333.5 kB / 0.5768 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3232, allocations: 27.77 kB / 0.5769 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3233, allocations: 196.7 kB / 0.5771 GB, free: 25.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.3234, allocations: 53.88 kB / 0.5771 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.3235, allocations: 40.33 kB / 0.5771 GB, free: 25.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.3235, allocations: 341.7 kB / 0.5775 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3237, allocations: 92.77 kB / 0.5776 GB, free: 25.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3239, allocations: 115.6 kB / 0.5777 GB, free: 25.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3243, allocations: 194.8 kB / 0.5779 GB, free: 25.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3243, allocations: 0 / 0.5779 GB, free: 25.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004518/0.3248, allocations: 253.2 kB / 0.5781 GB, free: 25.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3248, allocations: 5.672 kB / 0.5781 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3248, allocations: 0.75 kB / 0.5781 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3248, allocations: 9.344 kB / 0.5781 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.325, allocations: 30.66 kB / 0.5781 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.325, allocations: 6.359 kB / 0.5781 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3252, allocations: 28.56 kB / 0.5782 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.3252, allocations: 4.734 kB / 0.5782 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002089/0.3254, allocations: 196.1 kB / 0.5784 GB, free: 25.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001619/0.3256, allocations: 105.2 kB / 0.5785 GB, free: 25.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002333/0.3258, allocations: 165.3 kB / 0.5786 GB, free: 24.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.3258, allocations: 1.406 kB / 0.5786 GB, free: 24.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003311/0.3262, allocations: 231.2 kB / 0.5788 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.3262, allocations: 7.156 kB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.3262, allocations: 1.469 kB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-06/0.3262, allocations: 1.875 kB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.3263, allocations: 28.42 kB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.3263, allocations: 1.688 kB / 0.5789 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3265, allocations: 25.2 kB / 0.5789 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3265, allocations: 5.766 kB / 0.5789 GB, free: 24.77 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 7.223e-05/0.3266, allocations: 188.9 kB / 0.5791 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3266, allocations: 31.81 kB / 0.5791 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.3267, allocations: 34.7 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3267, allocations: 2.156 kB / 0.5792 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3267, allocations: 5.641 kB / 0.5792 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3267, allocations: 1.703 kB / 0.5792 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.3271, allocations: 404.9 kB / 0.5796 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3271, allocations: 2.141 kB / 0.5796 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.3273, allocations: 29.22 kB / 0.5796 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3273, allocations: 0.875 kB / 0.5796 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3273, allocations: 2.984 kB / 0.5796 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3273, allocations: 0.75 kB / 0.5796 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3274, allocations: 5.312 kB / 0.5796 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.328, allocations: 438.8 kB / 0.58 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.3281, allocations: 128.6 kB / 0.5801 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3281, allocations: 6.859 kB / 0.5801 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3283, allocations: 16.66 kB / 0.5802 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3283, allocations: 12.44 kB / 0.5802 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3283, allocations: 4.031 kB / 0.5802 GB, free: 23.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3285, allocations: 236.5 kB / 0.5804 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3285, allocations: 0 / 0.5804 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.3289, allocations: 92.16 kB / 0.5805 GB, free: 23.67 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.0007495/0.3297, allocations: 0.9693 MB / 0.5814 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.3303, allocations: 295.3 kB / 0.5817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3303, allocations: 0 / 0.5817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3304, allocations: 95.7 kB / 0.5818 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.3311, allocations: 93.41 kB / 0.5819 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.3344, allocations: 2.959 MB / 0.5848 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.3346, allocations: 0.7756 MB / 0.5855 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3347, allocations: 26.33 kB / 0.5856 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3349, allocations: 99.88 kB / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3349, allocations: 0 / 0.5857 GB, free: 19.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3708/0.7057, allocations: 6.566 MB / 0.5921 GB, free: 16.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.316, allocations: 9.25 kB / 0.5921 GB, free: 16.82 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/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)