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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009306/0.0009307, allocations: 98.66 kB / 16.35 MB, free: 5.824 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.0009581/0.0009581, allocations: 196.7 kB / 17.3 MB, free: 5.48 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7756/0.7756, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 75.89 kB / 0.5068 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 80.9 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003698/0.3635, allocations: 2.599 MB / 0.5883 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3649, allocations: 0.9187 MB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3651, allocations: 8.406 kB / 0.5892 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.3653, allocations: 66.8 kB / 0.5893 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3654, allocations: 58.66 kB / 0.5893 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.3658, allocations: 243.7 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.3662, allocations: 458.1 kB / 0.59 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.3665, allocations: 225 kB / 0.5902 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3666, allocations: 143.4 kB / 0.5903 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3667, allocations: 148.5 kB / 0.5905 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.3668, allocations: 52 kB / 0.5905 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.032e-05/0.3668, allocations: 51.94 kB / 0.5906 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.3669, allocations: 87.7 kB / 0.5907 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.367, allocations: 193.5 kB / 0.5908 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.3674, allocations: 0.6129 MB / 0.5914 GB, free: 20.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3674, allocations: 4 kB / 0.5915 GB, free: 20.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3674, allocations: 0 / 0.5915 GB, free: 20.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3674, allocations: 0 / 0.5915 GB, free: 20.69 MB / 446.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.000781/0.3682, allocations: 0.6498 MB / 0.5921 GB, free: 19.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3683, allocations: 9.109 kB / 0.5921 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.3683, allocations: 44.38 kB / 0.5921 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3687, allocations: 389.2 kB / 0.5925 GB, free: 19.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3688, allocations: 24.94 kB / 0.5925 GB, free: 19.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.3688, allocations: 29.47 kB / 0.5926 GB, free: 19.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3693, allocations: 327.4 kB / 0.5929 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3693, allocations: 0 / 0.5929 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3693, allocations: 15.98 kB / 0.5929 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3693, allocations: 8.719 kB / 0.5929 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.3697, allocations: 235.5 kB / 0.5931 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3709, allocations: 1.154 MB / 0.5942 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.3713, allocations: 238.5 kB / 0.5945 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3714, allocations: 93.36 kB / 0.5946 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3714, allocations: 2.219 kB / 0.5946 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3715, allocations: 42.56 kB / 0.5946 GB, free: 17.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.3715, allocations: 0 / 0.5946 GB, free: 17.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005612/0.372, allocations: 295.8 kB / 0.5949 GB, free: 17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3721, allocations: 86.2 kB / 0.595 GB, free: 16.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.3724, allocations: 332.4 kB / 0.5953 GB, free: 16.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3724, allocations: 30.8 kB / 0.5953 GB, free: 16.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3725, allocations: 192.1 kB / 0.5955 GB, free: 16.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.3726, allocations: 51.2 kB / 0.5955 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.3727, allocations: 47.2 kB / 0.5956 GB, free: 16.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.3727, allocations: 338.8 kB / 0.5959 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3729, allocations: 90.72 kB / 0.596 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3731, allocations: 124.7 kB / 0.5961 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.3734, allocations: 184.3 kB / 0.5963 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3734, allocations: 0 / 0.5963 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003577/0.3737, allocations: 257.1 kB / 0.5965 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3738, allocations: 4.531 kB / 0.5965 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3738, allocations: 4.594 kB / 0.5966 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3738, allocations: 0 / 0.5966 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.374, allocations: 32.92 kB / 0.5966 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.374, allocations: 4 kB / 0.5966 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3741, allocations: 29.02 kB / 0.5966 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3741, allocations: 8 kB / 0.5966 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001971/0.3743, allocations: 188.1 kB / 0.5968 GB, free: 14.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001239/0.3745, allocations: 116 kB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002088/0.3747, allocations: 163.8 kB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3747, allocations: 0 / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002892/0.375, allocations: 225.1 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.375, allocations: 8 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-06/0.375, allocations: 0 / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-06/0.375, allocations: 0.5312 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3751, allocations: 32.92 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.3751, allocations: 7.922 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3753, allocations: 25.58 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3753, allocations: 7.938 kB / 0.5974 GB, free: 14.38 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 9.113e-05/0.3754, allocations: 193.1 kB / 0.5975 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.3754, allocations: 28.88 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.3755, allocations: 35.28 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3755, allocations: 4 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3755, allocations: 0.75 kB / 0.5976 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3755, allocations: 3.938 kB / 0.5976 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3758, allocations: 406.5 kB / 0.598 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3759, allocations: 0 / 0.598 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.376, allocations: 23.98 kB / 0.598 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.376, allocations: 4.812 kB / 0.598 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.376, allocations: 4 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.376, allocations: 5.656 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3761, allocations: 0 / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.3766, allocations: 442.3 kB / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.3767, allocations: 136.7 kB / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.3768, allocations: 0 / 0.5986 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3769, allocations: 15.98 kB / 0.5986 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.377, allocations: 7.938 kB / 0.5986 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.377, allocations: 15.36 kB / 0.5986 GB, free: 12.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3772, allocations: 231.1 kB / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3772, allocations: 0 / 0.5989 GB, free: 12.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.3775, allocations: 95.53 kB / 0.5989 GB, free: 12.67 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 8.993e-05/0.3776, allocations: 95.81 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004694/0.3781, allocations: 283.7 kB / 0.5993 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3781, allocations: 1.281 kB / 0.5993 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3782, allocations: 98.3 kB / 0.5994 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3787, allocations: 79.56 kB / 0.5995 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.3796, allocations: 0.5571 MB / 0.6 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3797, allocations: 0.7758 MB / 0.6008 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3799, allocations: 26.72 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.3799, allocations: 30.17 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3799, allocations: 0 / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Templates: time 0.005425/0.3854, allocations: 3.147 MB / 0.6039 GB, free: 7.617 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)