Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.29/2.29, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.001348, allocations: 175.6 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009671/0.0009666, allocations: 92.48 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004832, allocations: 12.09 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 106.3 MB / 0.899 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003285/0.2168, allocations: 2.192 MB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.2189, allocations: 0.909 MB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.2193, allocations: 11.94 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2195, allocations: 43.58 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.2197, allocations: 35.67 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.2203, allocations: 142 kB / 0.9023 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2208, allocations: 391.6 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.2212, allocations: 212.2 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2214, allocations: 83.47 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2215, allocations: 95.31 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.2216, allocations: 4 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.2216, allocations: 8 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.2217, allocations: 43.72 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.2217, allocations: 89.52 kB / 0.9032 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.2223, allocations: 499 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2223, allocations: 3.984 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2223, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2223, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 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.001064/0.2234, allocations: 0.5806 MB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2234, allocations: 8.031 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2236, allocations: 44.38 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.2242, allocations: 387.5 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.2242, allocations: 20.94 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.2243, allocations: 28.38 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/0.2252, allocations: 329.5 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.2252, allocations: 7.938 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.2253, allocations: 8 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2253, allocations: 8 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.2261, allocations: 242.2 kB / 0.9052 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2283, allocations: 1.178 MB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.2291, allocations: 250.7 kB / 0.9066 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.2294, allocations: 108.9 kB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.2295, allocations: 0 / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2295, allocations: 34.56 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.2295, allocations: 0 / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001055/0.2306, allocations: 327.6 kB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.2307, allocations: 77.11 kB / 0.9072 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.2312, allocations: 333.7 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.2312, allocations: 33.7 kB / 0.9075 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.2314, allocations: 204 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.2315, allocations: 55.2 kB / 0.9078 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.2316, allocations: 4 kB / 0.9078 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2317, allocations: 342.8 kB / 0.9081 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.2321, allocations: 87.92 kB / 0.9082 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.2324, allocations: 125.3 kB / 0.9083 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.2327, allocations: 87.98 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2328, allocations: 4.031 kB / 0.9084 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007662/0.2335, allocations: 263.8 kB / 0.9086 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.2336, allocations: 110.8 kB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2336, allocations: 3.938 kB / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.2337, allocations: 0 / 0.9087 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.234, allocations: 35.92 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.234, allocations: 3.984 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/0.2343, allocations: 31.84 kB / 0.9088 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2343, allocations: 4 kB / 0.9088 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2343, allocations: 4 kB / 0.9088 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000478/0.2348, allocations: 175.8 kB / 0.909 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.2348, allocations: 4 kB / 0.909 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.2348, allocations: 0 / 0.909 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2351, allocations: 27.92 kB / 0.909 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/0.2351, allocations: 4 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.2353, allocations: 27.81 kB / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.2353, allocations: 4 kB / 0.909 GB, free: 54.91 MB / 0.6042 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 (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.0003051/0.2357, allocations: 241 kB / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.2357, allocations: 31.62 kB / 0.9093 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2359, allocations: 39.22 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2359, allocations: 4 kB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.2359, allocations: 3.984 kB / 0.9094 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2359, allocations: 0 / 0.9094 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/0.2364, allocations: 417.3 kB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2365, allocations: 4 kB / 0.9098 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.2368, allocations: 27.98 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2368, allocations: 0 / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2369, allocations: 0 / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2369, allocations: 4 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2369, allocations: 0 / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.238, allocations: 458.9 kB / 0.9102 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.2381, allocations: 132.7 kB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.2382, allocations: 8.062 kB / 0.9104 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.2385, allocations: 15.98 kB / 0.9104 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.2386, allocations: 7.984 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2386, allocations: 4 kB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003268/0.2389, allocations: 247.1 kB / 0.9106 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.239, allocations: 0 / 0.9106 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006104/0.2396, allocations: 95.53 kB / 0.9107 GB, free: 53.11 MB / 0.6042 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 (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.0001332/0.2397, allocations: 107.2 kB / 0.9108 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009304/0.2407, allocations: 295.6 kB / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2407, allocations: 0 / 0.9111 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.241, allocations: 99.91 kB / 0.9112 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2421, allocations: 79.39 kB / 0.9113 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.2445, allocations: 0.6597 MB / 0.9119 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.245, allocations: 0.7755 MB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003824/0.2454, allocations: 26.28 kB / 0.9127 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.2456, allocations: 23.44 kB / 0.9127 GB, free: 51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.753e-06/0.2456, allocations: 0 / 0.9127 GB, free: 51 MB / 0.6042 GB Notification: Performance of Templates: time 0.01348/0.2591, allocations: 2.875 MB / 0.9155 GB, free: 48.15 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)