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: translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007985, 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.0008933/0.0008933, allocations: 186.4 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7023/0.7023, allocations: 115.4 MB / 407.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 8 kB / 495.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 77.51 MB / 0.5598 GB, free: 9.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.0033/0.1916, allocations: 2.258 MB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1932, allocations: 0.865 MB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.1935, allocations: 11.94 kB / 0.5629 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1937, allocations: 47.64 kB / 0.5629 GB, free: 6 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1938, allocations: 43.59 kB / 0.5629 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.1943, allocations: 223.8 kB / 0.5632 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1947, allocations: 399.7 kB / 0.5635 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.1951, allocations: 229 kB / 0.5638 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1952, allocations: 79.41 kB / 0.5638 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1954, allocations: 107.2 kB / 0.5639 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.1954, allocations: 8 kB / 0.5639 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.557e-05/0.1954, allocations: 8 kB / 0.5639 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1955, allocations: 35.73 kB / 0.564 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1956, allocations: 164.7 kB / 0.5641 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.1961, allocations: 0.553 MB / 0.5647 GB, free: 4.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1961, allocations: 0 / 0.5647 GB, free: 4.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1961, allocations: 0 / 0.5647 GB, free: 4.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1962, allocations: 0 / 0.5647 GB, free: 4.164 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.0009128/0.1971, allocations: 0.5805 MB / 0.5652 GB, free: 3.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1971, allocations: 12.03 kB / 0.5653 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.1972, allocations: 40.47 kB / 0.5653 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.1977, allocations: 375.3 kB / 0.5657 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.1977, allocations: 20.94 kB / 0.5657 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.1978, allocations: 36.22 kB / 0.5657 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.1984, allocations: 341.7 kB / 0.566 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1985, allocations: 0 / 0.566 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.1985, allocations: 12 kB / 0.566 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.1985, allocations: 4 kB / 0.566 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.1991, allocations: 246.2 kB / 0.5663 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.2008, allocations: 1.174 MB / 0.5674 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.2013, allocations: 254.8 kB / 0.5677 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2015, allocations: 104.8 kB / 0.5678 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.2016, allocations: 0 / 0.5678 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/0.2016, allocations: 42.55 kB / 0.5678 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.113e-06/0.2017, allocations: 0 / 0.5678 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007095/0.2024, allocations: 314 kB / 0.5681 GB, free: 472 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.2024, allocations: 81.11 kB / 0.5682 GB, free: 372 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.2028, allocations: 332.4 kB / 0.5685 GB, free: 24 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.2029, allocations: 29.7 kB / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.203, allocations: 196.1 kB / 0.5687 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.2031, allocations: 55.27 kB / 0.5688 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2032, allocations: 25.72 kB / 0.5688 GB, free: 15.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2033, allocations: 342.8 kB / 0.5691 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2035, allocations: 87.97 kB / 0.5692 GB, free: 15.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.2038, allocations: 129.2 kB / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.2042, allocations: 200.7 kB / 0.5695 GB, free: 14.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2042, allocations: 0 / 0.5695 GB, free: 14.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005071/0.2047, allocations: 265.3 kB / 0.5698 GB, free: 14.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.2048, allocations: 110.6 kB / 0.5699 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2048, allocations: 0 / 0.5699 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2048, allocations: 7.938 kB / 0.5699 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.205, allocations: 35.92 kB / 0.5699 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.205, allocations: 4 kB / 0.5699 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.2052, allocations: 35.77 kB / 0.57 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2052, allocations: 4 kB / 0.57 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.2052, allocations: 6.5 kB / 0.57 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003065/0.2055, allocations: 175.8 kB / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-06/0.2055, allocations: 0 / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.2056, allocations: 4 kB / 0.5701 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2057, allocations: 35.98 kB / 0.5702 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.2058, allocations: 4 kB / 0.5702 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2059, allocations: 11.84 kB / 0.5702 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2059, allocations: 12 kB / 0.5702 GB, free: 14.22 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.0002178/0.2061, allocations: 241 kB / 0.5704 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.2062, allocations: 31.61 kB / 0.5705 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.2063, allocations: 43.22 kB / 0.5705 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2063, allocations: 3.938 kB / 0.5705 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2063, allocations: 4 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2063, allocations: 3.984 kB / 0.5705 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.2069, allocations: 413.2 kB / 0.5709 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2069, allocations: 0 / 0.5709 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.2071, allocations: 31.92 kB / 0.5709 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2071, allocations: 0 / 0.5709 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.2071, allocations: 8 kB / 0.571 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2071, allocations: 0 / 0.571 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2071, allocations: 0 / 0.571 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.2079, allocations: 454.1 kB / 0.5714 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.2081, allocations: 136.7 kB / 0.5715 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.2081, allocations: 0 / 0.5715 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2083, allocations: 15.98 kB / 0.5715 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.2083, allocations: 15.92 kB / 0.5715 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2084, allocations: 4 kB / 0.5715 GB, free: 12.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002479/0.2086, allocations: 231.1 kB / 0.5718 GB, free: 12.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2086, allocations: 0 / 0.5718 GB, free: 12.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.209, allocations: 95.69 kB / 0.5719 GB, free: 12.44 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.000129/0.2092, allocations: 99.25 kB / 0.572 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.2098, allocations: 307.7 kB / 0.5722 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2098, allocations: 0 / 0.5722 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.2101, allocations: 99.91 kB / 0.5723 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.2107, allocations: 87.09 kB / 0.5724 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2121, allocations: 0.6677 MB / 0.5731 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.2127, allocations: 0.7794 MB / 0.5738 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.2129, allocations: 26.28 kB / 0.5739 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.2129, allocations: 27.38 kB / 0.5739 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2129, allocations: 0 / 0.5739 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.007792/0.2207, allocations: 2.93 MB / 0.5768 GB, free: 7.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)