Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_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.0071/0.0071, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001654/0.001654, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7908/0.7908, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.95 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 80.91 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003582/0.1301, allocations: 2.608 MB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1316, allocations: 0.9155 MB / 0.6676 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.1319, allocations: 11.94 kB / 0.6676 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1321, allocations: 63.39 kB / 0.6676 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1323, allocations: 63.41 kB / 0.6677 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.1328, allocations: 242.3 kB / 0.6679 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.1333, allocations: 455.7 kB / 0.6684 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.1336, allocations: 221.4 kB / 0.6686 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1339, allocations: 151.4 kB / 0.6687 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.134, allocations: 147.2 kB / 0.6689 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.1341, allocations: 48 kB / 0.6689 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.588e-05/0.1342, allocations: 52 kB / 0.669 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.678e-05/0.1343, allocations: 91.7 kB / 0.669 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1344, allocations: 187 kB / 0.6692 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006286/0.1351, allocations: 0.6266 MB / 0.6698 GB, free: 452 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1351, allocations: 0 / 0.6698 GB, free: 452 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.156e-06/0.1351, allocations: 0 / 0.6698 GB, free: 452 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.1351, allocations: 3.938 kB / 0.6698 GB, free: 448 kB / 0.4981 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.001045/0.1362, allocations: 0.6543 MB / 0.6705 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1362, allocations: 13.11 kB / 0.6705 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.501e-05/0.1363, allocations: 62.73 kB / 0.6706 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.1364, allocations: 44.66 kB / 0.6706 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1369, allocations: 391.5 kB / 0.671 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1369, allocations: 20.94 kB / 0.671 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.137, allocations: 28.38 kB / 0.671 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.1375, allocations: 333.5 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1375, allocations: 4 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1376, allocations: 8 kB / 0.6713 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1376, allocations: 8 kB / 0.6714 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.1381, allocations: 234.1 kB / 0.6716 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.1396, allocations: 1.159 MB / 0.6727 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.1401, allocations: 238.8 kB / 0.6729 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.1403, allocations: 96.83 kB / 0.673 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1403, allocations: 8 kB / 0.673 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1404, allocations: 30.56 kB / 0.6731 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.1404, allocations: 0 / 0.6731 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.0006514/0.141, allocations: 301.3 kB / 0.6734 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1411, allocations: 81.11 kB / 0.6734 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.1414, allocations: 328.5 kB / 0.6737 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1414, allocations: 33.64 kB / 0.6738 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1416, allocations: 204.2 kB / 0.674 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1416, allocations: 51.53 kB / 0.674 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.1417, allocations: 41.7 kB / 0.6741 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1418, allocations: 342.8 kB / 0.6744 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.142, allocations: 88.81 kB / 0.6745 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1422, allocations: 121.4 kB / 0.6746 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.1426, allocations: 192.3 kB / 0.6748 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1426, allocations: 0 / 0.6748 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004709/0.1431, allocations: 257.3 kB / 0.675 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1431, allocations: 8 kB / 0.675 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1431, allocations: 3.938 kB / 0.675 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1432, allocations: 0 / 0.675 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1433, allocations: 31.92 kB / 0.6751 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1434, allocations: 7.938 kB / 0.6751 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1435, allocations: 31.89 kB / 0.6751 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1435, allocations: 4 kB / 0.6751 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002462/0.1438, allocations: 196.1 kB / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.1439, allocations: 99.41 kB / 0.6754 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002946/0.1442, allocations: 172.3 kB / 0.6755 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.1443, allocations: 4 kB / 0.6755 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003651/0.1446, allocations: 226.9 kB / 0.6758 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.1446, allocations: 4 kB / 0.6758 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/0.1446, allocations: 0 / 0.6758 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.1447, allocations: 4 kB / 0.6758 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1448, allocations: 23.98 kB / 0.6758 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1448, allocations: 3.938 kB / 0.6758 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1449, allocations: 23.88 kB / 0.6758 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1449, allocations: 8.062 kB / 0.6758 GB, free: 9.988 MB / 0.5137 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.0001014/0.145, allocations: 185.6 kB / 0.676 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1451, allocations: 27.81 kB / 0.676 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.1452, allocations: 39.28 kB / 0.6761 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1452, allocations: 0 / 0.6761 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1452, allocations: 3.938 kB / 0.6761 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1452, allocations: 0 / 0.6761 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.1456, allocations: 409.3 kB / 0.6765 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1456, allocations: 0 / 0.6765 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1458, allocations: 39.92 kB / 0.6765 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1458, allocations: 0 / 0.6765 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1458, allocations: 4 kB / 0.6765 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1458, allocations: 0 / 0.6765 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1459, allocations: 7.922 kB / 0.6765 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.1465, allocations: 442.6 kB / 0.6769 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1466, allocations: 136.8 kB / 0.6771 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.1467, allocations: 4 kB / 0.6771 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1469, allocations: 15.98 kB / 0.6771 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.1469, allocations: 11.92 kB / 0.6771 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1469, allocations: 7.938 kB / 0.6771 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002231/0.1472, allocations: 239 kB / 0.6773 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1472, allocations: 0 / 0.6773 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003888/0.1476, allocations: 87.72 kB / 0.6774 GB, free: 8.281 MB / 0.5137 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.0008862/0.1485, allocations: 0.9661 MB / 0.6784 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005771/0.149, allocations: 286.2 kB / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1491, allocations: 4 kB / 0.6786 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1492, allocations: 91.91 kB / 0.6787 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1498, allocations: 90.83 kB / 0.6788 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.1535, allocations: 2.943 MB / 0.6817 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1538, allocations: 0.7791 MB / 0.6824 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.1539, allocations: 30.28 kB / 0.6825 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1541, allocations: 95.41 kB / 0.6826 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1541, allocations: 4 kB / 0.6826 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1783, allocations: 6.676 MB / 0.6891 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.14, allocations: 2.344 kB / 0.6891 GB, free: 12.3 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)