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.005223/0.005223, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.00119/0.00119, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7572/0.7572, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 66.89 kB / 0.5851 GB, free: 22.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1595, allocations: 80.92 MB / 0.6641 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004954/0.1644, allocations: 2.608 MB / 0.6667 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1667, allocations: 0.9155 MB / 0.6676 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.1672, allocations: 12 kB / 0.6676 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1675, allocations: 63.33 kB / 0.6676 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1678, allocations: 59.41 kB / 0.6677 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1685, allocations: 238.6 kB / 0.6679 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.1692, allocations: 455.7 kB / 0.6684 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.1696, allocations: 221.1 kB / 0.6686 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.1698, allocations: 155.4 kB / 0.6687 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.17, allocations: 143.2 kB / 0.6688 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.1701, allocations: 48 kB / 0.6689 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.1701, allocations: 52 kB / 0.6689 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.1702, allocations: 95.64 kB / 0.669 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1704, allocations: 187 kB / 0.6692 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.171, allocations: 0.6188 MB / 0.6698 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.171, allocations: 4 kB / 0.6698 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.171, allocations: 3.938 kB / 0.6698 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.171, allocations: 3.938 kB / 0.6698 GB, free: 0.5586 MB / 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.001148/0.1722, allocations: 0.6429 MB / 0.6705 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1722, allocations: 9.109 kB / 0.6705 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.247e-05/0.1723, allocations: 66.73 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.1724, allocations: 44.45 kB / 0.6706 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.1729, allocations: 383.3 kB / 0.6709 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.173, allocations: 24.88 kB / 0.671 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.173, allocations: 28.38 kB / 0.671 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.1737, allocations: 325.5 kB / 0.6713 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1737, allocations: 0 / 0.6713 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.1737, allocations: 12 kB / 0.6713 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1737, allocations: 8 kB / 0.6713 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.1742, allocations: 238.1 kB / 0.6715 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1759, allocations: 1.159 MB / 0.6727 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.1764, allocations: 230.8 kB / 0.6729 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1766, allocations: 103.7 kB / 0.673 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1766, allocations: 4 kB / 0.673 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1766, allocations: 34.56 kB / 0.673 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.1766, allocations: 0 / 0.673 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.000659/0.1773, allocations: 293.2 kB / 0.6733 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1774, allocations: 85.05 kB / 0.6734 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.1777, allocations: 332.5 kB / 0.6737 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1778, allocations: 25.7 kB / 0.6737 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.178, allocations: 204 kB / 0.6739 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.178, allocations: 47.27 kB / 0.674 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.1781, allocations: 41.7 kB / 0.674 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1782, allocations: 342.8 kB / 0.6743 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.1784, allocations: 96.77 kB / 0.6744 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1787, allocations: 119.4 kB / 0.6745 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.179, allocations: 178.5 kB / 0.6747 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.179, allocations: 7.984 kB / 0.6747 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005007/0.1795, allocations: 258.9 kB / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1796, allocations: 7.938 kB / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1796, allocations: 7.938 kB / 0.675 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1796, allocations: 0 / 0.675 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1798, allocations: 27.98 kB / 0.675 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1798, allocations: 7.938 kB / 0.675 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1799, allocations: 23.83 kB / 0.675 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.18, allocations: 8.062 kB / 0.6751 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002435/0.1802, allocations: 192.1 kB / 0.6752 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001496/0.1804, allocations: 105.8 kB / 0.6753 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002673/0.1807, allocations: 172.3 kB / 0.6755 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.484e-06/0.1807, allocations: 7.969 kB / 0.6755 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003603/0.181, allocations: 221.2 kB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1811, allocations: 9.875 kB / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.1811, allocations: 0 / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.1811, allocations: 3.984 kB / 0.6757 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1812, allocations: 27.94 kB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1812, allocations: 3.984 kB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.1813, allocations: 27.77 kB / 0.6758 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1813, allocations: 4 kB / 0.6758 GB, free: 10.14 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.0001277/0.1815, allocations: 192.3 kB / 0.676 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.1815, allocations: 27.62 kB / 0.676 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.1816, allocations: 35.28 kB / 0.676 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1816, allocations: 4 kB / 0.676 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1816, allocations: 3.938 kB / 0.676 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1816, allocations: 0 / 0.676 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1821, allocations: 405.3 kB / 0.6764 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1821, allocations: 0 / 0.6764 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.1823, allocations: 27.98 kB / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.1823, allocations: 11.98 kB / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1823, allocations: 0 / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1823, allocations: 0 / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.1823, allocations: 7.922 kB / 0.6765 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.183, allocations: 431 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1831, allocations: 140.7 kB / 0.677 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.1832, allocations: 8 kB / 0.677 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1833, allocations: 11.98 kB / 0.677 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1834, allocations: 19.86 kB / 0.6771 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1834, allocations: 4 kB / 0.6771 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002347/0.1836, allocations: 235.1 kB / 0.6773 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1836, allocations: 0 / 0.6773 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003841/0.184, allocations: 83.69 kB / 0.6774 GB, free: 8.438 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.001002/0.185, allocations: 0.9731 MB / 0.6783 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005978/0.1856, allocations: 287.9 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1857, allocations: 0 / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.1859, allocations: 95.91 kB / 0.6787 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1864, allocations: 92.42 kB / 0.6788 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.1907, allocations: 2.91 MB / 0.6816 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1911, allocations: 0.7792 MB / 0.6824 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.1912, allocations: 22.28 kB / 0.6824 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1914, allocations: 99.41 kB / 0.6825 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1914, allocations: 0 / 0.6825 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.218, allocations: 6.765 MB / 0.6891 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/7.958, allocations: 3.938 kB / 0.6891 GB, free: 12.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)