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.007331/0.007331, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.001751/0.001751, allocations: 191 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9553/0.9553, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4239, allocations: 80.92 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003036/0.427, allocations: 2.612 MB / 0.6672 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.4282, allocations: 0.9122 MB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.4284, allocations: 11.25 kB / 0.6681 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.4286, allocations: 62.89 kB / 0.6681 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.4287, allocations: 63 kB / 0.6682 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.4291, allocations: 239.2 kB / 0.6684 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.4295, allocations: 458.3 kB / 0.6689 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.4298, allocations: 220.8 kB / 0.6691 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4299, allocations: 144.9 kB / 0.6692 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.43, allocations: 153 kB / 0.6693 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.4301, allocations: 49.56 kB / 0.6694 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.4301, allocations: 50.84 kB / 0.6694 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.4302, allocations: 91.61 kB / 0.6695 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.4303, allocations: 192.3 kB / 0.6697 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.4308, allocations: 0.6173 MB / 0.6703 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4308, allocations: 1.344 kB / 0.6703 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4308, allocations: 0 / 0.6703 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.4308, allocations: 0 / 0.6703 GB, free: 3.082 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.0007641/0.4316, allocations: 0.6482 MB / 0.671 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4316, allocations: 8.5 kB / 0.671 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.4317, allocations: 40.84 kB / 0.671 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.4321, allocations: 394.8 kB / 0.6714 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4321, allocations: 20.38 kB / 0.6714 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.4322, allocations: 25.62 kB / 0.6714 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.4327, allocations: 332.5 kB / 0.6717 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4327, allocations: 0 / 0.6717 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.4327, allocations: 14.84 kB / 0.6717 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4327, allocations: 6.594 kB / 0.6718 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.4332, allocations: 233.9 kB / 0.672 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4345, allocations: 1.16 MB / 0.6731 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.435, allocations: 236.3 kB / 0.6733 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4352, allocations: 101.5 kB / 0.6734 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.4352, allocations: 6.531 kB / 0.6734 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.4352, allocations: 31.94 kB / 0.6735 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.4352, allocations: 0 / 0.6735 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006165/0.4358, allocations: 297.9 kB / 0.6738 GB, free: 352 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4359, allocations: 83.39 kB / 0.6738 GB, free: 252 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.4362, allocations: 328.5 kB / 0.6741 GB, free: 32 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.4362, allocations: 30.89 kB / 0.6742 GB, free: 16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.4364, allocations: 198.1 kB / 0.6744 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4364, allocations: 53.39 kB / 0.6744 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.4365, allocations: 40.33 kB / 0.6745 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4367, allocations: 338 kB / 0.6748 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.4368, allocations: 87.2 kB / 0.6749 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.4371, allocations: 118.3 kB / 0.675 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.4374, allocations: 191.8 kB / 0.6752 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4374, allocations: 0 / 0.6752 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004568/0.4379, allocations: 258.4 kB / 0.6754 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4379, allocations: 6.281 kB / 0.6754 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4379, allocations: 0 / 0.6754 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.438, allocations: 6.547 kB / 0.6754 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4381, allocations: 27.83 kB / 0.6754 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.4382, allocations: 6.656 kB / 0.6754 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4383, allocations: 24.41 kB / 0.6755 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4383, allocations: 12.55 kB / 0.6755 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002496/0.4386, allocations: 198.9 kB / 0.6757 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001546/0.4387, allocations: 105 kB / 0.6758 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002653/0.439, allocations: 165.8 kB / 0.6759 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.439, allocations: 5.438 kB / 0.6759 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.00035/0.4394, allocations: 225 kB / 0.6762 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.4394, allocations: 4.969 kB / 0.6762 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.4394, allocations: 1.812 kB / 0.6762 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.4394, allocations: 1.562 kB / 0.6762 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4395, allocations: 28.52 kB / 0.6762 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.4396, allocations: 1.875 kB / 0.6762 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4397, allocations: 18.69 kB / 0.6762 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4397, allocations: 10.84 kB / 0.6762 GB, free: 14.49 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.0001208/0.4398, allocations: 188.8 kB / 0.6764 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.4399, allocations: 37.39 kB / 0.6764 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.44, allocations: 39.73 kB / 0.6765 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.44, allocations: 2.031 kB / 0.6765 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.44, allocations: 0 / 0.6765 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.44, allocations: 5.406 kB / 0.6765 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.4405, allocations: 409.5 kB / 0.6769 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4405, allocations: 0 / 0.6769 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.4407, allocations: 31.86 kB / 0.6769 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4407, allocations: 1.438 kB / 0.6769 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4407, allocations: 1.438 kB / 0.6769 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4407, allocations: 1.5 kB / 0.6769 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4407, allocations: 3.938 kB / 0.6769 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.4414, allocations: 440.4 kB / 0.6773 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4415, allocations: 131 kB / 0.6775 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.4416, allocations: 9.641 kB / 0.6775 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4417, allocations: 5.125 kB / 0.6775 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.4418, allocations: 16.7 kB / 0.6775 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4418, allocations: 3.688 kB / 0.6775 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002453/0.4421, allocations: 239.4 kB / 0.6777 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4421, allocations: 0 / 0.6777 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004023/0.4425, allocations: 87.06 kB / 0.6778 GB, free: 13.23 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.0001103/0.4426, allocations: 116.4 kB / 0.6779 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006117/0.4432, allocations: 281.7 kB / 0.6782 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4432, allocations: 5.438 kB / 0.6782 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4434, allocations: 90.41 kB / 0.6783 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.444, allocations: 85.22 kB / 0.6783 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.445, allocations: 0.5561 MB / 0.6789 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.4454, allocations: 0.7755 MB / 0.6796 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.4455, allocations: 28.58 kB / 0.6797 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.4456, allocations: 24.81 kB / 0.6797 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4456, allocations: 0 / 0.6797 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of Templates: time 0.006459/0.452, allocations: 3.188 MB / 0.6828 GB, free: 10.21 MB / 0.5137 GB 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)