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.7977/0.7977, allocations: 143.3 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 177.1 kB / 191.5 MB, free: 5.758 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.631/1.631, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.001071/0.001071, allocations: 100.2 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 277.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005291, allocations: 10.97 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2109, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6302/0.8412, allocations: 114.5 MB / 0.8856 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.8415, allocations: 85.55 kB / 0.8857 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.8602, allocations: 6.96 MB / 0.8925 GB, free: 21.22 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8602, allocations: 0 / 0.8925 GB, free: 21.22 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.8603, allocations: 5.844 kB / 0.8925 GB, free: 21.22 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.0008474/0.8611, allocations: 0.5956 MB / 0.8931 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.8612, allocations: 9.031 kB / 0.8931 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.8613, allocations: 64.75 kB / 0.8931 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.8614, allocations: 44 kB / 0.8932 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.8618, allocations: 382.5 kB / 0.8935 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.8619, allocations: 17.28 kB / 0.8935 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.8619, allocations: 29.09 kB / 0.8936 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.8626, allocations: 328.1 kB / 0.8939 GB, free: 20.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.8626, allocations: 3.938 kB / 0.8939 GB, free: 20.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.8626, allocations: 8.875 kB / 0.8939 GB, free: 20.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.8626, allocations: 7.688 kB / 0.8939 GB, free: 20.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.8631, allocations: 245.6 kB / 0.8941 GB, free: 20.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.8647, allocations: 1.182 MB / 0.8953 GB, free: 19.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.8653, allocations: 243.1 kB / 0.8955 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.8654, allocations: 1.75 kB / 0.8955 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.8654, allocations: 34 kB / 0.8956 GB, free: 19.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.8654, allocations: 4 kB / 0.8956 GB, free: 19.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0007811/0.8662, allocations: 313.4 kB / 0.8959 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.8662, allocations: 91.06 kB / 0.8959 GB, free: 19.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.8666, allocations: 293.8 kB / 0.8962 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.8667, allocations: 30.7 kB / 0.8963 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.8668, allocations: 196.5 kB / 0.8964 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.8669, allocations: 50.39 kB / 0.8965 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.8669, allocations: 4.594 kB / 0.8965 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.867, allocations: 338.1 kB / 0.8968 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.8674, allocations: 90 kB / 0.8969 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.8676, allocations: 120.9 kB / 0.897 GB, free: 19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.8678, allocations: 97.23 kB / 0.8971 GB, free: 19 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.8678, allocations: 1.219 kB / 0.8971 GB, free: 19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005243/0.8684, allocations: 259.7 kB / 0.8974 GB, free: 18.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.8685, allocations: 275.5 kB / 0.8976 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8685, allocations: 1.922 kB / 0.8976 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8685, allocations: 9.469 kB / 0.8976 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.8687, allocations: 34.91 kB / 0.8977 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.8687, allocations: 1.719 kB / 0.8977 GB, free: 18.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.869, allocations: 22.25 kB / 0.8977 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.869, allocations: 9.812 kB / 0.8977 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.869, allocations: 3.594 kB / 0.8977 GB, free: 18.65 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005193/0.8696, allocations: 178.6 kB / 0.8979 GB, free: 18.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8696, allocations: 4.703 kB / 0.8979 GB, free: 18.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.8696, allocations: 2.625 kB / 0.8979 GB, free: 18.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.8698, allocations: 29.09 kB / 0.8979 GB, free: 18.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.8698, allocations: 1.469 kB / 0.8979 GB, free: 18.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.87, allocations: 25.25 kB / 0.8979 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.87, allocations: 7.828 kB / 0.8979 GB, free: 18.61 MB / 0.5417 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.0002877/0.8703, allocations: 241.4 kB / 0.8982 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.8704, allocations: 35.02 kB / 0.8982 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.8705, allocations: 38.69 kB / 0.8982 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8706, allocations: 3.031 kB / 0.8982 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.8706, allocations: 5.031 kB / 0.8983 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.8706, allocations: 0 / 0.8983 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.8712, allocations: 403.9 kB / 0.8986 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8713, allocations: 0.5156 kB / 0.8986 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.8715, allocations: 30.78 kB / 0.8987 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8715, allocations: 4.969 kB / 0.8987 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.8716, allocations: 1.031 kB / 0.8987 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.8716, allocations: 5.75 kB / 0.8987 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8716, allocations: 1.469 kB / 0.8987 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.8726, allocations: 453 kB / 0.8991 GB, free: 18.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.8728, allocations: 138.4 kB / 0.8992 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.8729, allocations: 5.312 kB / 0.8992 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.8731, allocations: 15.95 kB / 0.8993 GB, free: 17.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.8732, allocations: 17.69 kB / 0.8993 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.8732, allocations: 2.75 kB / 0.8993 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003523/0.8736, allocations: 235.7 kB / 0.8995 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8736, allocations: 0.75 kB / 0.8995 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006168/0.8742, allocations: 92.78 kB / 0.8996 GB, free: 17.8 MB / 0.5417 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.001178/0.8754, allocations: 0.9875 MB / 0.9006 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000846/0.8762, allocations: 293.3 kB / 0.9008 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8763, allocations: 256 / 0.9008 GB, free: 17.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.8766, allocations: 104 kB / 0.9009 GB, free: 17.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.8773, allocations: 81.42 kB / 0.901 GB, free: 17.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.8815, allocations: 2.085 MB / 0.9031 GB, free: 16.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.8826, allocations: 0.7814 MB / 0.9038 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.8828, allocations: 29.83 kB / 0.9038 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.8831, allocations: 100.8 kB / 0.9039 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of SimCode: time 1.523e-06/0.8831, allocations: 0 / 0.9039 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.906, allocations: 6.084 MB / 0.9099 GB, free: 30.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.9063, allocations: 198.7 kB / 0.9101 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.979, allocations: 0 / 0.9101 GB, free: 30.7 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)