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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5036/0.5036, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.1 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 107.2 kB / 427.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 72.3 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5044/0.663, allocations: 107.4 MB / 0.6738 GB, free: 13.01 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.6634, allocations: 87.94 kB / 0.6739 GB, free: 12.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.6812, allocations: 6.96 MB / 0.6807 GB, free: 5.977 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6813, allocations: 0 / 0.6807 GB, free: 5.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.439e-05/0.6814, allocations: 8 kB / 0.6807 GB, free: 5.969 MB / 474.7 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.0009722/0.6824, allocations: 0.5998 MB / 0.6813 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.6824, allocations: 8.031 kB / 0.6813 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.6825, allocations: 62.53 kB / 0.6813 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.6826, allocations: 39.53 kB / 0.6814 GB, free: 5.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.6832, allocations: 378.8 kB / 0.6817 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.6833, allocations: 20.56 kB / 0.6817 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.6834, allocations: 31.91 kB / 0.6818 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.684, allocations: 333.3 kB / 0.6821 GB, free: 4.398 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.684, allocations: 7.938 kB / 0.6821 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.684, allocations: 8 kB / 0.6821 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.684, allocations: 8 kB / 0.6821 GB, free: 4.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.6845, allocations: 242.2 kB / 0.6823 GB, free: 4.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.6862, allocations: 1.17 MB / 0.6835 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.6868, allocations: 246.8 kB / 0.6837 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.6868, allocations: 4 kB / 0.6837 GB, free: 2.656 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.6869, allocations: 34.55 kB / 0.6838 GB, free: 2.613 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.6869, allocations: 4 kB / 0.6838 GB, free: 2.609 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007672/0.6876, allocations: 310.9 kB / 0.6841 GB, free: 2.301 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.6877, allocations: 93.03 kB / 0.6841 GB, free: 2.191 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.6881, allocations: 291.7 kB / 0.6844 GB, free: 1.902 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.6881, allocations: 33.7 kB / 0.6845 GB, free: 1.863 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6883, allocations: 196 kB / 0.6846 GB, free: 1.668 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.6883, allocations: 55.25 kB / 0.6847 GB, free: 1.613 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.6883, allocations: 0 / 0.6847 GB, free: 1.613 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.6885, allocations: 338.8 kB / 0.685 GB, free: 1.273 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.6887, allocations: 87.97 kB / 0.6851 GB, free: 1.188 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.6889, allocations: 119.3 kB / 0.6852 GB, free: 1.059 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.6891, allocations: 97.42 kB / 0.6853 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6891, allocations: 0 / 0.6853 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000473/0.6896, allocations: 266.5 kB / 0.6856 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.6898, allocations: 270.9 kB / 0.6858 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6898, allocations: 7.953 kB / 0.6858 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6898, allocations: 4.062 kB / 0.6858 GB, free: 412 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.69, allocations: 35.98 kB / 0.6859 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.69, allocations: 0 / 0.6859 GB, free: 376 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.6902, allocations: 27.83 kB / 0.6859 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6902, allocations: 4 kB / 0.6859 GB, free: 344 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.6902, allocations: 4 kB / 0.6859 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003135/0.6905, allocations: 177.4 kB / 0.6861 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-06/0.6905, allocations: 0 / 0.6861 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.6905, allocations: 0 / 0.6861 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.6907, allocations: 35.92 kB / 0.6861 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.6907, allocations: 0 / 0.6861 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6908, allocations: 19.78 kB / 0.6861 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6908, allocations: 11.98 kB / 0.6861 GB, free: 96 kB / 474.7 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 (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.0002462/0.6911, allocations: 249.1 kB / 0.6864 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.6911, allocations: 27.62 kB / 0.6864 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.655e-05/0.6912, allocations: 35.28 kB / 0.6864 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6912, allocations: 4 kB / 0.6864 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6912, allocations: 0 / 0.6864 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6913, allocations: 0 / 0.6864 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.6917, allocations: 413.2 kB / 0.6868 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6917, allocations: 0 / 0.6868 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.6919, allocations: 27.98 kB / 0.6869 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6919, allocations: 0 / 0.6869 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.692, allocations: 11.94 kB / 0.6869 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.692, allocations: 4 kB / 0.6869 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.692, allocations: 3.984 kB / 0.6869 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007291/0.6927, allocations: 457.3 kB / 0.6873 GB, free: 14.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.6929, allocations: 132.6 kB / 0.6874 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.6929, allocations: 7.938 kB / 0.6874 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.6931, allocations: 15.98 kB / 0.6875 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.6932, allocations: 16.05 kB / 0.6875 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6932, allocations: 4 kB / 0.6875 GB, free: 14.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002528/0.6934, allocations: 231.1 kB / 0.6877 GB, free: 14.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6934, allocations: 0 / 0.6877 GB, free: 14.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.6939, allocations: 87.69 kB / 0.6878 GB, free: 14.3 MB / 490.7 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 (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.001026/0.6949, allocations: 0.9893 MB / 0.6888 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.6955, allocations: 297.5 kB / 0.689 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6955, allocations: 0 / 0.689 GB, free: 13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.6958, allocations: 110.4 kB / 0.6891 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.6963, allocations: 72.89 kB / 0.6892 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.6992, allocations: 2.082 MB / 0.6912 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6996, allocations: 0.7794 MB / 0.692 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.6998, allocations: 26.28 kB / 0.692 GB, free: 9.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.6999, allocations: 107.3 kB / 0.6921 GB, free: 9.742 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7, allocations: 0 / 0.6921 GB, free: 9.742 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.7187, allocations: 6.08 MB / 0.6981 GB, free: 3.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.7189, allocations: 187.4 kB / 0.6982 GB, free: 3.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.001, allocations: 0 / 0.6982 GB, free: 3.57 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)