Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.007/3.007, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 175 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 110 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005138, allocations: 15.89 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2349, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.229, allocations: 143.9 MB / 1.119 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/1.23, allocations: 85.06 kB / 1.119 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02543/1.255, allocations: 6.999 MB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/1.255, allocations: 4 kB / 1.126 GB, free: 30.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.2e-05/1.255, allocations: 11.75 kB / 1.126 GB, free: 30.96 MB / 0.698 GB 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.001357/1.257, allocations: 0.5914 MB / 1.126 GB, free: 30.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/1.257, allocations: 19.45 kB / 1.126 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/1.257, allocations: 65.52 kB / 1.126 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/1.257, allocations: 42.48 kB / 1.126 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/1.258, allocations: 399.2 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/1.258, allocations: 19.72 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/1.258, allocations: 26.69 kB / 1.127 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008739/1.259, allocations: 338.7 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.259, allocations: 0 / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/1.259, allocations: 15.75 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.259, allocations: 7.625 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/1.26, allocations: 247.8 kB / 1.127 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/1.262, allocations: 1.172 MB / 1.129 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/1.263, allocations: 241.9 kB / 1.129 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/1.263, allocations: 10.22 kB / 1.129 GB, free: 29.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.263, allocations: 30.56 kB / 1.129 GB, free: 29.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.926e-06/1.263, allocations: 0 / 1.129 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001065/1.264, allocations: 317.8 kB / 1.129 GB, free: 29.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.264, allocations: 81.05 kB / 1.129 GB, free: 29.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/1.265, allocations: 308.8 kB / 1.13 GB, free: 29.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/1.265, allocations: 30.98 kB / 1.13 GB, free: 29.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/1.265, allocations: 192.8 kB / 1.13 GB, free: 29.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/1.265, allocations: 54.78 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.889e-05/1.265, allocations: 3.812 kB / 1.13 GB, free: 29.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.265, allocations: 340.2 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.265, allocations: 89.62 kB / 1.13 GB, free: 28.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/1.266, allocations: 123 kB / 1.13 GB, free: 28.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/1.266, allocations: 92.78 kB / 1.13 GB, free: 28.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.266, allocations: 0 / 1.13 GB, free: 28.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008112/1.267, allocations: 263.4 kB / 1.131 GB, free: 28.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/1.267, allocations: 273 kB / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-06/1.267, allocations: 0 / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.267, allocations: 0 / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/1.268, allocations: 43.52 kB / 1.131 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.268, allocations: 3.844 kB / 1.131 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/1.268, allocations: 28.98 kB / 1.131 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.268, allocations: 11.91 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.268, allocations: 3.906 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004864/1.268, allocations: 176.1 kB / 1.131 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/1.268, allocations: 4.062 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/1.268, allocations: 0 / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/1.269, allocations: 29.45 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/1.269, allocations: 3.938 kB / 1.131 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/1.269, allocations: 25.48 kB / 1.131 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/1.269, allocations: 3.594 kB / 1.131 GB, free: 28.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,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.0003806/1.269, allocations: 241.9 kB / 1.131 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/1.269, allocations: 34.98 kB / 1.131 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/1.27, allocations: 40.78 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.27, allocations: 0 / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.27, allocations: 3.938 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.27, allocations: 3.812 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/1.27, allocations: 404.4 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.27, allocations: 7.812 kB / 1.132 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/1.271, allocations: 26.33 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.271, allocations: 7.828 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.271, allocations: 3.625 kB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.271, allocations: 4 kB / 1.132 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.271, allocations: 0 / 1.132 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/1.272, allocations: 456.4 kB / 1.132 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.272, allocations: 126.4 kB / 1.133 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/1.272, allocations: 7.828 kB / 1.133 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/1.272, allocations: 13.91 kB / 1.133 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/1.272, allocations: 10.92 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.272, allocations: 7.219 kB / 1.133 GB, free: 27.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003773/1.273, allocations: 243.7 kB / 1.133 GB, free: 27.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.273, allocations: 0 / 1.133 GB, free: 27.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005827/1.273, allocations: 103.9 kB / 1.133 GB, free: 27.51 MB / 0.698 GB 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 (actSet.y,actAct.y) * 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.001571/1.275, allocations: 0.9836 MB / 1.134 GB, free: 26.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009608/1.276, allocations: 291.3 kB / 1.134 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.276, allocations: 0 / 1.134 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003128/1.276, allocations: 104.2 kB / 1.134 GB, free: 26.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/1.277, allocations: 76.31 kB / 1.134 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/1.282, allocations: 2.12 MB / 1.136 GB, free: 25.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/1.282, allocations: 0.7882 MB / 1.137 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002744/1.283, allocations: 25.53 kB / 1.137 GB, free: 24.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.283, allocations: 107.8 kB / 1.137 GB, free: 24.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.283, allocations: 0 / 1.137 GB, free: 24.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/1.316, allocations: 6.139 MB / 1.143 GB, free: 22.04 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/1.316, allocations: 197.6 kB / 1.143 GB, free: 21.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.992, allocations: 0 / 1.143 GB, free: 21.8 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)