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.0006594/0.0006594, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007073/0.0007073, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6622/0.6622, allocations: 132.3 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3362, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002178/0.3385, allocations: 2.176 MB / 0.5852 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3397, allocations: 0.8534 MB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.34, allocations: 7.625 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.3401, allocations: 41.8 kB / 0.5861 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3403, allocations: 41.27 kB / 0.5861 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.3407, allocations: 130.3 kB / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.3411, allocations: 389.8 kB / 0.5866 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.3413, allocations: 147.6 kB / 0.5868 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3414, allocations: 81.88 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3415, allocations: 97.52 kB / 0.5869 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.3416, allocations: 11.38 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.3416, allocations: 7.875 kB / 0.5869 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3417, allocations: 39.09 kB / 0.587 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.3417, allocations: 87.83 kB / 0.5871 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.3421, allocations: 499.5 kB / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3422, allocations: 0 / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3422, allocations: 0 / 0.5875 GB, free: 1.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3422, allocations: 5.031 kB / 0.5875 GB, free: 1.086 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.0006901/0.3429, allocations: 0.5845 MB / 0.5881 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3429, allocations: 8.344 kB / 0.5881 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.343, allocations: 43.61 kB / 0.5882 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3434, allocations: 361.1 kB / 0.5885 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3434, allocations: 29.06 kB / 0.5885 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3434, allocations: 29.73 kB / 0.5886 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.344, allocations: 328.8 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.344, allocations: 1.672 kB / 0.5889 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.344, allocations: 10.31 kB / 0.5889 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3441, allocations: 7.438 kB / 0.5889 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.3445, allocations: 251.4 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.346, allocations: 1.172 MB / 0.5903 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.3464, allocations: 242.8 kB / 0.5905 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3466, allocations: 106.5 kB / 0.5906 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3467, allocations: 6.953 kB / 0.5906 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3467, allocations: 40.3 kB / 0.5907 GB, free: 14.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.3467, allocations: 0 / 0.5907 GB, free: 14.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006103/0.3473, allocations: 316.5 kB / 0.591 GB, free: 14.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3474, allocations: 80.08 kB / 0.591 GB, free: 14.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.3477, allocations: 330.4 kB / 0.5914 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3477, allocations: 35.02 kB / 0.5914 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.3479, allocations: 196.1 kB / 0.5916 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.3479, allocations: 50.73 kB / 0.5916 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.3479, allocations: 5.375 kB / 0.5916 GB, free: 14.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3481, allocations: 338.6 kB / 0.5919 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3482, allocations: 92.36 kB / 0.592 GB, free: 13.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.3484, allocations: 123 kB / 0.5922 GB, free: 13.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.3486, allocations: 92.12 kB / 0.5922 GB, free: 13.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3486, allocations: 0 / 0.5922 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004512/0.3491, allocations: 272.4 kB / 0.5925 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.3491, allocations: 105.2 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3492, allocations: 0.75 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3492, allocations: 2.438 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3493, allocations: 38.66 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3494, allocations: 1.766 kB / 0.5926 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3495, allocations: 31.05 kB / 0.5927 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3495, allocations: 9.188 kB / 0.5927 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/0.3495, allocations: 3.516 kB / 0.5927 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003023/0.3498, allocations: 170.2 kB / 0.5928 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.3498, allocations: 1.406 kB / 0.5928 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.3499, allocations: 5.297 kB / 0.5929 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.35, allocations: 36.98 kB / 0.5929 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.35, allocations: 6.344 kB / 0.5929 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.3501, allocations: 24.66 kB / 0.5929 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3501, allocations: 4.844 kB / 0.5929 GB, free: 13.42 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.3503, allocations: 241.1 kB / 0.5932 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3503, allocations: 29.25 kB / 0.5932 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.3504, allocations: 36.81 kB / 0.5932 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3504, allocations: 1.156 kB / 0.5932 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3504, allocations: 8.562 kB / 0.5932 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3505, allocations: 2 kB / 0.5932 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.3509, allocations: 408.6 kB / 0.5936 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3509, allocations: 1.062 kB / 0.5936 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.351, allocations: 30.89 kB / 0.5936 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.351, allocations: 0.9688 kB / 0.5936 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3511, allocations: 1.031 kB / 0.5937 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.3511, allocations: 9.797 kB / 0.5937 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3511, allocations: 1.125 kB / 0.5937 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.3517, allocations: 456.2 kB / 0.5941 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3518, allocations: 129.2 kB / 0.5942 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3519, allocations: 5.875 kB / 0.5942 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.352, allocations: 16.08 kB / 0.5942 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3521, allocations: 13.02 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3521, allocations: 3.766 kB / 0.5943 GB, free: 12.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002454/0.3523, allocations: 232.1 kB / 0.5945 GB, free: 12.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3523, allocations: 0.6562 kB / 0.5945 GB, free: 12.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.3527, allocations: 100.1 kB / 0.5946 GB, free: 12.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.739e-05/0.3528, allocations: 95.61 kB / 0.5947 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.3534, allocations: 297.5 kB / 0.5949 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3534, allocations: 0 / 0.5949 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3536, allocations: 100.8 kB / 0.595 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.3541, allocations: 81.58 kB / 0.5951 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.3551, allocations: 0.6433 MB / 0.5958 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3554, allocations: 0.7777 MB / 0.5965 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.3555, allocations: 33.83 kB / 0.5965 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.3556, allocations: 19.41 kB / 0.5966 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3556, allocations: 0 / 0.5966 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.005974/0.3616, allocations: 2.845 MB / 0.5993 GB, free: 9.91 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)