Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8643/0.8643, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.00118, allocations: 178.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 95.72 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002214/0.002214, allocations: 283.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.625e-05/4.627e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4877, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.6264, allocations: 114.4 MB / 0.8761 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.6267, allocations: 83.94 kB / 0.8762 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.6432, allocations: 6.925 MB / 0.8829 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6433, allocations: 0 / 0.8829 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.835e-05/0.6433, allocations: 8 kB / 0.883 GB, free: 3.102 MB / 0.5417 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.0008429/0.6442, allocations: 0.5527 MB / 0.8835 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.6442, allocations: 12.03 kB / 0.8835 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.6443, allocations: 58.55 kB / 0.8836 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.6444, allocations: 39.53 kB / 0.8836 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.645, allocations: 390.6 kB / 0.884 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.645, allocations: 20.56 kB / 0.884 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.6451, allocations: 28 kB / 0.884 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.6456, allocations: 301.4 kB / 0.8843 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6456, allocations: 7.984 kB / 0.8843 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.6457, allocations: 12 kB / 0.8843 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.6457, allocations: 11.94 kB / 0.8843 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.6461, allocations: 206.2 kB / 0.8845 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.6477, allocations: 1.16 MB / 0.8857 GB, free: 156 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.6485, allocations: 198.9 kB / 0.8859 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.6486, allocations: 84.86 kB / 0.8859 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.6487, allocations: 0 / 0.8859 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.6487, allocations: 42.56 kB / 0.886 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.6487, allocations: 0 / 0.886 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0003991/0.6491, allocations: 200 kB / 0.8862 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.6492, allocations: 81.28 kB / 0.8862 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.6495, allocations: 294.9 kB / 0.8865 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6496, allocations: 29.64 kB / 0.8866 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.6497, allocations: 200.1 kB / 0.8867 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.6498, allocations: 55.19 kB / 0.8868 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.6498, allocations: 8 kB / 0.8868 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6499, allocations: 334.8 kB / 0.8871 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.6501, allocations: 64 kB / 0.8872 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.6502, allocations: 101.1 kB / 0.8873 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.6503, allocations: 81.11 kB / 0.8874 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6504, allocations: 4 kB / 0.8874 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003394/0.6507, allocations: 218.3 kB / 0.8876 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.6509, allocations: 276.4 kB / 0.8878 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6509, allocations: 0 / 0.8878 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6509, allocations: 0 / 0.8878 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.6511, allocations: 31.98 kB / 0.8879 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6511, allocations: 0 / 0.8879 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.6512, allocations: 31.73 kB / 0.8879 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.6513, allocations: 8 kB / 0.8879 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.6513, allocations: 4 kB / 0.8879 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002671/0.6516, allocations: 167.8 kB / 0.8881 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.6516, allocations: 0 / 0.8881 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-06/0.6516, allocations: 0 / 0.8881 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6517, allocations: 27.98 kB / 0.8881 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.6517, allocations: 0 / 0.8881 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.6518, allocations: 23.75 kB / 0.8881 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6518, allocations: 4 kB / 0.8881 GB, free: 13.54 MB / 0.5573 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 () * 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 9.565e-05/0.6519, allocations: 121 kB / 0.8882 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.652, allocations: 27.62 kB / 0.8883 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.6521, allocations: 39.02 kB / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6521, allocations: 3.984 kB / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6521, allocations: 0 / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6521, allocations: 0 / 0.8883 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.6526, allocations: 413.3 kB / 0.8887 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6526, allocations: 0 / 0.8887 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.6528, allocations: 31.97 kB / 0.8887 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6528, allocations: 7.938 kB / 0.8887 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.6528, allocations: 8 kB / 0.8887 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.6529, allocations: 7.891 kB / 0.8887 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6529, allocations: 0 / 0.8887 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.6534, allocations: 384.9 kB / 0.8891 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.6535, allocations: 132.7 kB / 0.8892 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6536, allocations: 4 kB / 0.8892 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.6537, allocations: 20.05 kB / 0.8893 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.6538, allocations: 11.94 kB / 0.8893 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.6538, allocations: 8 kB / 0.8893 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002465/0.6541, allocations: 234.2 kB / 0.8895 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6541, allocations: 0 / 0.8895 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003801/0.6545, allocations: 87.69 kB / 0.8896 GB, free: 11.93 MB / 0.5573 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 () * 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.0008838/0.6554, allocations: 0.9406 MB / 0.8905 GB, free: 10.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.6558, allocations: 257.8 kB / 0.8908 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6558, allocations: 0 / 0.8908 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.656, allocations: 79.94 kB / 0.8908 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.6565, allocations: 78.48 kB / 0.8909 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.6576, allocations: 478.2 kB / 0.8914 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.658, allocations: 0.7804 MB / 0.8921 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.6582, allocations: 49.77 kB / 0.8922 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6584, allocations: 91.41 kB / 0.8923 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.6584, allocations: 0 / 0.8923 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.6793, allocations: 6.608 MB / 0.8987 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.6797, allocations: 176 kB / 0.8989 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.929, allocations: 7.062 kB / 0.8989 GB, free: 2.488 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)