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.00124/0.00124, allocations: 103 kB / 16.27 MB, free: 5.891 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.001214/0.001214, allocations: 190.8 kB / 17.19 MB, free: 5.535 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8307/0.8307, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 80.92 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003525/0.3277, allocations: 2.598 MB / 0.5876 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3292, allocations: 0.9062 MB / 0.5885 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.3294, allocations: 12.94 kB / 0.5885 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.3296, allocations: 62.92 kB / 0.5886 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3298, allocations: 63.78 kB / 0.5886 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.3302, allocations: 234.4 kB / 0.5888 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3306, allocations: 453.4 kB / 0.5893 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3309, allocations: 221.8 kB / 0.5895 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.331, allocations: 145.2 kB / 0.5896 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3311, allocations: 154 kB / 0.5898 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.3312, allocations: 51 kB / 0.5898 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.381e-05/0.3313, allocations: 49.34 kB / 0.5899 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.3313, allocations: 88.8 kB / 0.59 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3314, allocations: 188.5 kB / 0.5901 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3318, allocations: 0.6035 MB / 0.5907 GB, free: 20.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3318, allocations: 0 / 0.5907 GB, free: 20.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3318, allocations: 1.156 kB / 0.5907 GB, free: 20.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3318, allocations: 0 / 0.5907 GB, free: 20.71 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.0007025/0.3325, allocations: 0.654 MB / 0.5914 GB, free: 20.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3326, allocations: 9.109 kB / 0.5914 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.3326, allocations: 44.38 kB / 0.5914 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.333, allocations: 383.3 kB / 0.5918 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.333, allocations: 16.94 kB / 0.5918 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.333, allocations: 29.19 kB / 0.5918 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.3335, allocations: 328.6 kB / 0.5921 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3335, allocations: 4 kB / 0.5921 GB, free: 19.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3335, allocations: 11.94 kB / 0.5921 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3335, allocations: 8 kB / 0.5922 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.3339, allocations: 239.3 kB / 0.5924 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3351, allocations: 1.166 MB / 0.5935 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.3355, allocations: 229.8 kB / 0.5937 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3356, allocations: 99.14 kB / 0.5938 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3357, allocations: 4 kB / 0.5938 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3357, allocations: 34.5 kB / 0.5939 GB, free: 17.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3357, allocations: 1.625 kB / 0.5939 GB, free: 17.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005401/0.3363, allocations: 299.6 kB / 0.5942 GB, free: 17.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3363, allocations: 81.11 kB / 0.5942 GB, free: 16.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3365, allocations: 336.4 kB / 0.5946 GB, free: 16.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3366, allocations: 25.7 kB / 0.5946 GB, free: 16.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.3366, allocations: 196.1 kB / 0.5948 GB, free: 16.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3367, allocations: 53.42 kB / 0.5948 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.3367, allocations: 41.7 kB / 0.5949 GB, free: 16.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.3368, allocations: 338.8 kB / 0.5952 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.337, allocations: 89.42 kB / 0.5953 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3371, allocations: 130.8 kB / 0.5954 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.3374, allocations: 181.9 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3374, allocations: 4 kB / 0.5956 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003799/0.3378, allocations: 254.7 kB / 0.5958 GB, free: 15.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3379, allocations: 6.5 kB / 0.5958 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3379, allocations: 5.156 kB / 0.5958 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3379, allocations: 0 / 0.5958 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3381, allocations: 31.92 kB / 0.5959 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3381, allocations: 5.75 kB / 0.5959 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3382, allocations: 31.67 kB / 0.5959 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3382, allocations: 7.984 kB / 0.5959 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001843/0.3384, allocations: 192.1 kB / 0.5961 GB, free: 14.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001165/0.3386, allocations: 103.4 kB / 0.5962 GB, free: 14.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002077/0.3388, allocations: 168.7 kB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.3388, allocations: 4 kB / 0.5963 GB, free: 14.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000286/0.3391, allocations: 229 kB / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.3391, allocations: 9.906 kB / 0.5966 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.3391, allocations: 3.984 kB / 0.5966 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.3391, allocations: 3.984 kB / 0.5966 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3392, allocations: 31.88 kB / 0.5966 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.3392, allocations: 0 / 0.5966 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3393, allocations: 24.64 kB / 0.5966 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3394, allocations: 7.938 kB / 0.5966 GB, free: 14.4 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 8.529e-05/0.3395, allocations: 185.4 kB / 0.5968 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.3395, allocations: 27.62 kB / 0.5968 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.3396, allocations: 36.09 kB / 0.5969 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3396, allocations: 4 kB / 0.5969 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3396, allocations: 6.281 kB / 0.5969 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3396, allocations: 3.938 kB / 0.5969 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.3399, allocations: 405.3 kB / 0.5973 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3399, allocations: 3.984 kB / 0.5973 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3401, allocations: 27.98 kB / 0.5973 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3401, allocations: 4.656 kB / 0.5973 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3401, allocations: 0 / 0.5973 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3401, allocations: 3.188 kB / 0.5973 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3402, allocations: 0 / 0.5973 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.3407, allocations: 437.9 kB / 0.5977 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.3408, allocations: 133.3 kB / 0.5979 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3408, allocations: 4 kB / 0.5979 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.341, allocations: 12.92 kB / 0.5979 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.341, allocations: 17.2 kB / 0.5979 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3411, allocations: 8 kB / 0.5979 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3412, allocations: 235.1 kB / 0.5981 GB, free: 12.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3412, allocations: 0.5312 kB / 0.5981 GB, free: 12.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.3416, allocations: 93.12 kB / 0.5982 GB, free: 12.7 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.782e-05/0.3417, allocations: 99.25 kB / 0.5983 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.3422, allocations: 294.2 kB / 0.5986 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3422, allocations: 0 / 0.5986 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3424, allocations: 88.47 kB / 0.5987 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.343, allocations: 86.25 kB / 0.5988 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009197/0.3439, allocations: 0.5916 MB / 0.5993 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.3441, allocations: 0.7819 MB / 0.6001 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.3442, allocations: 19.44 kB / 0.6001 GB, free: 10.72 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3442, allocations: 0 / 0.6001 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Templates: time 0.004819/0.349, allocations: 3.97 MB / 0.604 GB, free: 6.777 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)