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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 101.6 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 196 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7732/0.7732, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 70.7 kB / 0.5679 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1812, allocations: 77.93 MB / 0.644 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004518/0.1858, allocations: 2.589 MB / 0.6466 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1878, allocations: 0.9196 MB / 0.6475 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.1882, allocations: 11.94 kB / 0.6475 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1885, allocations: 59.39 kB / 0.6475 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1888, allocations: 59.42 kB / 0.6476 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.1894, allocations: 235.7 kB / 0.6478 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.19, allocations: 459.6 kB / 0.6483 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.1904, allocations: 234 kB / 0.6485 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1907, allocations: 143.4 kB / 0.6486 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1909, allocations: 151.2 kB / 0.6488 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.191, allocations: 48 kB / 0.6488 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.1911, allocations: 52 kB / 0.6489 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.1911, allocations: 87.7 kB / 0.6489 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1913, allocations: 195 kB / 0.6491 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000729/0.1921, allocations: 0.6266 MB / 0.6497 GB, free: 3.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1921, allocations: 4 kB / 0.6497 GB, free: 3.688 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1921, allocations: 0 / 0.6497 GB, free: 3.688 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.1921, allocations: 0 / 0.6497 GB, free: 3.688 MB / 494.1 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.001056/0.1932, allocations: 0.6543 MB / 0.6504 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1932, allocations: 8.031 kB / 0.6504 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.719e-05/0.1933, allocations: 62.73 kB / 0.6504 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.1934, allocations: 44.66 kB / 0.6505 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.194, allocations: 395.5 kB / 0.6509 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.194, allocations: 24.88 kB / 0.6509 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1941, allocations: 24.38 kB / 0.6509 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.1947, allocations: 333.5 kB / 0.6512 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1947, allocations: 3.938 kB / 0.6512 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.1947, allocations: 12 kB / 0.6512 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1947, allocations: 4 kB / 0.6512 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1952, allocations: 230.2 kB / 0.6515 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.1968, allocations: 1.163 MB / 0.6526 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.1973, allocations: 242.8 kB / 0.6528 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1975, allocations: 92.83 kB / 0.6529 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1976, allocations: 0 / 0.6529 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1976, allocations: 42.56 kB / 0.653 GB, free: 192 kB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1976, allocations: 0 / 0.653 GB, free: 192 kB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006826/0.1983, allocations: 304.2 kB / 0.6533 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1984, allocations: 77.11 kB / 0.6533 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1987, allocations: 328.5 kB / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1988, allocations: 37.7 kB / 0.6537 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1989, allocations: 196.3 kB / 0.6539 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.199, allocations: 59.47 kB / 0.6539 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.1991, allocations: 41.66 kB / 0.654 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1992, allocations: 342.8 kB / 0.6543 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1994, allocations: 92.81 kB / 0.6544 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.1996, allocations: 111.4 kB / 0.6545 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.2, allocations: 188.2 kB / 0.6547 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2, allocations: 0 / 0.6547 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004835/0.2005, allocations: 265.3 kB / 0.6549 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2005, allocations: 4 kB / 0.6549 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2006, allocations: 0 / 0.6549 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2006, allocations: 4 kB / 0.6549 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2008, allocations: 27.98 kB / 0.6549 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2008, allocations: 7.875 kB / 0.655 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2009, allocations: 31.83 kB / 0.655 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.201, allocations: 8.062 kB / 0.655 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002373/0.2012, allocations: 192.1 kB / 0.6552 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000156/0.2014, allocations: 102 kB / 0.6553 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002696/0.2016, allocations: 168.4 kB / 0.6554 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.2016, allocations: 7.969 kB / 0.6554 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003767/0.202, allocations: 223 kB / 0.6557 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.202, allocations: 4 kB / 0.6557 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.2021, allocations: 4 kB / 0.6557 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.117e-06/0.2021, allocations: 0 / 0.6557 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2022, allocations: 31.98 kB / 0.6557 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.2022, allocations: 3.938 kB / 0.6557 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2023, allocations: 15.88 kB / 0.6557 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.2024, allocations: 12.06 kB / 0.6557 GB, free: 13.25 MB / 0.4981 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2025, allocations: 196.1 kB / 0.6559 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.2026, allocations: 31.77 kB / 0.6559 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.2027, allocations: 35.28 kB / 0.656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2027, allocations: 4 kB / 0.656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2027, allocations: 3.938 kB / 0.656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2027, allocations: 0 / 0.656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.2031, allocations: 409.3 kB / 0.6564 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2032, allocations: 0 / 0.6564 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.2033, allocations: 27.98 kB / 0.6564 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2034, allocations: 7.875 kB / 0.6564 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2034, allocations: 8 kB / 0.6564 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.2034, allocations: 4 kB / 0.6564 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.2034, allocations: 7.922 kB / 0.6564 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.2041, allocations: 435.2 kB / 0.6568 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.2043, allocations: 132.9 kB / 0.657 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.2043, allocations: 4 kB / 0.657 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.2045, allocations: 7.984 kB / 0.657 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2045, allocations: 19.92 kB / 0.657 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2046, allocations: 0 / 0.657 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002452/0.2048, allocations: 231.1 kB / 0.6572 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2048, allocations: 0 / 0.6572 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004131/0.2052, allocations: 99.67 kB / 0.6573 GB, free: 11.53 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009347/0.2062, allocations: 0.969 MB / 0.6583 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.2068, allocations: 285.9 kB / 0.6585 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2068, allocations: 0 / 0.6585 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.207, allocations: 95.91 kB / 0.6586 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2076, allocations: 85.06 kB / 0.6587 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.2115, allocations: 2.943 MB / 0.6616 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2119, allocations: 0.7753 MB / 0.6623 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.212, allocations: 30.28 kB / 0.6624 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2122, allocations: 95.41 kB / 0.6625 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2122, allocations: 0 / 0.6625 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.2373, allocations: 6.685 MB / 0.669 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.254, allocations: 21.09 kB / 0.669 GB, free: 15.54 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)