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 2.635/2.635, allocations: 287.5 MB / 302.4 MB, free: 8.148 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.001344/0.001344, allocations: 178.3 kB / 371 MB, free: 10.86 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.198/2.198, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009071/0.0009068, allocations: 97.28 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006901/0.0006903, allocations: 15.55 kB / 0.8659 GB, free: 139.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2273, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003404/0.2308, allocations: 2.192 MB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.2328, allocations: 0.8858 MB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.2331, allocations: 15.94 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.2333, allocations: 43.58 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.2335, allocations: 39.64 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.2341, allocations: 133.8 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.2346, allocations: 383.8 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.2349, allocations: 148.4 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.235, allocations: 87.41 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2352, allocations: 99.28 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.2353, allocations: 8 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.375e-05/0.2353, allocations: 8 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.2354, allocations: 39.78 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.2354, allocations: 89.52 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.236, allocations: 0.4912 MB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.236, allocations: 0 / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.166e-06/0.236, allocations: 0 / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.2361, allocations: 7.938 kB / 0.983 GB, free: 23.59 MB / 0.6198 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.001068/0.2371, allocations: 0.5804 MB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2372, allocations: 12.02 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.2373, allocations: 66.53 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.88e-05/0.2374, allocations: 43.48 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.238, allocations: 378.2 kB / 0.984 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.238, allocations: 20.56 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.2381, allocations: 31.91 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.239, allocations: 333.3 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.239, allocations: 0 / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.2391, allocations: 12 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2391, allocations: 8 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.2399, allocations: 250 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.242, allocations: 1.17 MB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.2427, allocations: 246.7 kB / 0.986 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.2431, allocations: 108.9 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.2431, allocations: 7.922 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2432, allocations: 38.52 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.577e-06/0.2432, allocations: 4 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001066/0.2443, allocations: 319.1 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2443, allocations: 77.11 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.2448, allocations: 329.7 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2449, allocations: 29.7 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.245, allocations: 204 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.2451, allocations: 55.25 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.2451, allocations: 3.938 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.2452, allocations: 350.8 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.2456, allocations: 83.97 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.2459, allocations: 117.6 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.2462, allocations: 99.91 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.2463, allocations: 3.953 kB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007731/0.2471, allocations: 267 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.2471, allocations: 106.7 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2471, allocations: 64 / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2472, allocations: 7.938 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.2475, allocations: 31.98 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2475, allocations: 0 / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.2478, allocations: 31.77 kB / 0.9882 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.2478, allocations: 11.94 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.2478, allocations: 4 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004742/0.2483, allocations: 182 kB / 0.9884 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2483, allocations: 3.953 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.2484, allocations: 4 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.2486, allocations: 27.98 kB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2486, allocations: 4 kB / 0.9884 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.2488, allocations: 15.84 kB / 0.9884 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2488, allocations: 8 kB / 0.9885 GB, free: 17.71 MB / 0.6198 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.0002493/0.2491, allocations: 242.4 kB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.2492, allocations: 31.62 kB / 0.9887 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.2493, allocations: 39.23 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2493, allocations: 0 / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2493, allocations: 3.984 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2493, allocations: 0 / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.2499, allocations: 413.2 kB / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2499, allocations: 0 / 0.9892 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.2502, allocations: 31.92 kB / 0.9892 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.2502, allocations: 8 kB / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2503, allocations: 0 / 0.9892 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2503, allocations: 3.953 kB / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2503, allocations: 0 / 0.9892 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2514, allocations: 448.6 kB / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2515, allocations: 132.7 kB / 0.9898 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.2516, allocations: 4 kB / 0.9898 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.2518, allocations: 15.98 kB / 0.9898 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.2519, allocations: 20 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.252, allocations: 4 kB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003163/0.2523, allocations: 235.2 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2523, allocations: 3.938 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000545/0.2528, allocations: 91.59 kB / 0.9901 GB, free: 15.93 MB / 0.6198 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.001242/0.2541, allocations: 0.9788 MB / 0.9911 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009011/0.255, allocations: 308.9 kB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.255, allocations: 0 / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.2554, allocations: 109 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.2562, allocations: 79.97 kB / 0.9915 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.2607, allocations: 1.821 MB / 0.9933 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2609, allocations: 0.7833 MB / 0.9941 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.2612, allocations: 22.28 kB / 0.9941 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.2614, allocations: 103.4 kB / 0.9942 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.134e-06/0.2615, allocations: 0 / 0.9942 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.2917, allocations: 6.12 MB / 1 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/0.2921, allocations: 196.9 kB / 1 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.025, allocations: 0 / 1 GB, free: 5.449 MB / 0.6198 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)