Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7339/0.7339, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.36 kB / 0.5018 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.415, allocations: 80.2 MB / 0.5801 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004061/0.4192, allocations: 2.603 MB / 0.5826 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.4206, allocations: 0.9134 MB / 0.5835 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.4209, allocations: 11.56 kB / 0.5835 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.4211, allocations: 63.34 kB / 0.5836 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.4213, allocations: 62.69 kB / 0.5836 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.4217, allocations: 244.4 kB / 0.5839 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004325/0.4222, allocations: 451.1 kB / 0.5843 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.4226, allocations: 225 kB / 0.5845 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.4227, allocations: 141.5 kB / 0.5847 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.4229, allocations: 154.7 kB / 0.5848 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.423, allocations: 50.03 kB / 0.5849 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.4231, allocations: 50.19 kB / 0.5849 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.4231, allocations: 92 kB / 0.585 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.4233, allocations: 189.1 kB / 0.5852 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.4241, allocations: 0.6013 MB / 0.5858 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4241, allocations: 0 / 0.5858 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4241, allocations: 0 / 0.5858 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4241, allocations: 1.469 kB / 0.5858 GB, free: 0.8164 MB / 430.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.001045/0.4252, allocations: 0.6536 MB / 0.5864 GB, free: 272 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4252, allocations: 8.688 kB / 0.5864 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.4253, allocations: 43.84 kB / 0.5865 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.4258, allocations: 380.3 kB / 0.5868 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4258, allocations: 20.44 kB / 0.5868 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.4259, allocations: 29.44 kB / 0.5869 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.4266, allocations: 330.5 kB / 0.5872 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4266, allocations: 3.938 kB / 0.5872 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.4266, allocations: 10.97 kB / 0.5872 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4266, allocations: 6.188 kB / 0.5872 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.4271, allocations: 235.2 kB / 0.5874 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.4289, allocations: 1.169 MB / 0.5886 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.4294, allocations: 229.6 kB / 0.5888 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.4296, allocations: 94.72 kB / 0.5889 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.4297, allocations: 5.5 kB / 0.5889 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.4297, allocations: 36.78 kB / 0.5889 GB, free: 14.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.4297, allocations: 0.5938 kB / 0.5889 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007195/0.4305, allocations: 299.8 kB / 0.5892 GB, free: 14.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4305, allocations: 83.86 kB / 0.5893 GB, free: 14.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.4309, allocations: 329.5 kB / 0.5896 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.431, allocations: 30.92 kB / 0.5896 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4311, allocations: 192.8 kB / 0.5898 GB, free: 13.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.4312, allocations: 57.62 kB / 0.5899 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.4313, allocations: 43.53 kB / 0.5899 GB, free: 13.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4314, allocations: 340.4 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4316, allocations: 92.45 kB / 0.5903 GB, free: 13.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.4319, allocations: 120.3 kB / 0.5904 GB, free: 13.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.4322, allocations: 184.9 kB / 0.5906 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4323, allocations: 0 / 0.5906 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004852/0.4327, allocations: 254.8 kB / 0.5908 GB, free: 13.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4328, allocations: 9.062 kB / 0.5909 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4328, allocations: 5.453 kB / 0.5909 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4328, allocations: 1.5 kB / 0.5909 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.433, allocations: 33.39 kB / 0.5909 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.433, allocations: 1.906 kB / 0.5909 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4332, allocations: 31.05 kB / 0.5909 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.4332, allocations: 5.734 kB / 0.5909 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002584/0.4335, allocations: 196.7 kB / 0.5911 GB, free: 13.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001667/0.4336, allocations: 104 kB / 0.5912 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002783/0.4339, allocations: 166 kB / 0.5914 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.4339, allocations: 3.938 kB / 0.5914 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003755/0.4343, allocations: 227 kB / 0.5916 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.4343, allocations: 9.562 kB / 0.5916 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.4343, allocations: 0 / 0.5916 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-06/0.4344, allocations: 2.641 kB / 0.5916 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.4345, allocations: 33.22 kB / 0.5916 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.4345, allocations: 1.375 kB / 0.5916 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4346, allocations: 20.19 kB / 0.5917 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4346, allocations: 12 kB / 0.5917 GB, free: 12.76 MB / 446.1 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 (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.0001151/0.4348, allocations: 184.3 kB / 0.5918 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.4348, allocations: 37.22 kB / 0.5919 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.4349, allocations: 36.66 kB / 0.5919 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4349, allocations: 2.188 kB / 0.5919 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.4349, allocations: 4.641 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4349, allocations: 4.5 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.4355, allocations: 406.2 kB / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4355, allocations: 0 / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4356, allocations: 25.89 kB / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4357, allocations: 1.375 kB / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4357, allocations: 4.5 kB / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4357, allocations: 0.75 kB / 0.5923 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4357, allocations: 5.938 kB / 0.5924 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/0.4364, allocations: 436.5 kB / 0.5928 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4366, allocations: 130.3 kB / 0.5929 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.4366, allocations: 5.344 kB / 0.5929 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4368, allocations: 12.05 kB / 0.5929 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.4368, allocations: 18.61 kB / 0.5929 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4368, allocations: 1.938 kB / 0.5929 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002592/0.4371, allocations: 230.7 kB / 0.5932 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4371, allocations: 1.312 kB / 0.5932 GB, free: 11.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004041/0.4375, allocations: 95.31 kB / 0.5932 GB, free: 11.64 MB / 446.1 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 (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.0001198/0.4376, allocations: 99.62 kB / 0.5933 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.4383, allocations: 292.7 kB / 0.5936 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4383, allocations: 3.938 kB / 0.5936 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4385, allocations: 98.61 kB / 0.5937 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.4391, allocations: 86.73 kB / 0.5938 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4402, allocations: 0.5616 MB / 0.5943 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4406, allocations: 0.7746 MB / 0.5951 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.4407, allocations: 29.11 kB / 0.5951 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.4408, allocations: 20.34 kB / 0.5952 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4408, allocations: 0 / 0.5952 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.006715/0.4475, allocations: 3.151 MB / 0.5982 GB, free: 9.223 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)