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.0008612/0.0008611, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004822/0.004822, allocations: 171.9 kB / 16.27 MB, free: 6.656 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8616/0.8616, allocations: 135.7 MB / 427.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 9.688 kB / 0.5081 GB, free: 4.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 82.41 MB / 0.5886 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002766/0.1395, allocations: 2.257 MB / 0.5908 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1408, allocations: 0.869 MB / 0.5916 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.141, allocations: 11.94 kB / 0.5916 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1411, allocations: 47.64 kB / 0.5917 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1413, allocations: 47.59 kB / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1417, allocations: 215.8 kB / 0.5919 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.1421, allocations: 399.6 kB / 0.5923 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.1424, allocations: 225.1 kB / 0.5925 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.1425, allocations: 87.34 kB / 0.5926 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1426, allocations: 103.2 kB / 0.5927 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1427, allocations: 8 kB / 0.5927 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.1427, allocations: 8 kB / 0.5927 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1427, allocations: 31.8 kB / 0.5928 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1429, allocations: 168.7 kB / 0.5929 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.1434, allocations: 0.5491 MB / 0.5935 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1434, allocations: 4 kB / 0.5935 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1434, allocations: 4 kB / 0.5935 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1434, allocations: 0 / 0.5935 GB, free: 13.02 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.0007666/0.1442, allocations: 0.5766 MB / 0.594 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1442, allocations: 12.03 kB / 0.594 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.1443, allocations: 40.47 kB / 0.5941 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1447, allocations: 383.2 kB / 0.5944 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.1447, allocations: 20.94 kB / 0.5945 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.1448, allocations: 28.38 kB / 0.5945 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.1453, allocations: 337.7 kB / 0.5948 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1454, allocations: 0 / 0.5948 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1454, allocations: 23.98 kB / 0.5948 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1454, allocations: 4 kB / 0.5948 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.1459, allocations: 250.1 kB / 0.5951 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.1474, allocations: 1.178 MB / 0.5962 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.1479, allocations: 250.7 kB / 0.5965 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.1482, allocations: 100.9 kB / 0.5966 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1482, allocations: 4 kB / 0.5966 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1482, allocations: 34.56 kB / 0.5966 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.1482, allocations: 0 / 0.5966 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.000648/0.1489, allocations: 317.2 kB / 0.5969 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1489, allocations: 81.11 kB / 0.597 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003493/0.1493, allocations: 328.5 kB / 0.5973 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1493, allocations: 29.7 kB / 0.5973 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1495, allocations: 196 kB / 0.5975 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1495, allocations: 55.14 kB / 0.5976 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1496, allocations: 25.72 kB / 0.5976 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1497, allocations: 342.8 kB / 0.5979 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1499, allocations: 87.97 kB / 0.598 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1502, allocations: 123.4 kB / 0.5981 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.1506, allocations: 196.3 kB / 0.5983 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1506, allocations: 11.94 kB / 0.5983 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004759/0.1511, allocations: 263.5 kB / 0.5986 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.1512, allocations: 106.8 kB / 0.5987 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1512, allocations: 4 kB / 0.5987 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1512, allocations: 3.938 kB / 0.5987 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1514, allocations: 35.98 kB / 0.5987 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1514, allocations: 3.984 kB / 0.5987 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1515, allocations: 27.78 kB / 0.5987 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1515, allocations: 8 kB / 0.5987 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.1515, allocations: 4 kB / 0.5988 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003224/0.1519, allocations: 182.5 kB / 0.5989 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1519, allocations: 4 kB / 0.5989 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-06/0.1519, allocations: 0 / 0.5989 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.152, allocations: 23.98 kB / 0.599 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.152, allocations: 4 kB / 0.599 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1521, allocations: 23.91 kB / 0.599 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1521, allocations: 4 kB / 0.599 GB, free: 7.098 MB / 0.4981 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.0002183/0.1524, allocations: 248.5 kB / 0.5992 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.1524, allocations: 31.62 kB / 0.5992 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.1525, allocations: 35.22 kB / 0.5993 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1525, allocations: 7.922 kB / 0.5993 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1525, allocations: 0 / 0.5993 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1525, allocations: 0 / 0.5993 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.153, allocations: 425.2 kB / 0.5997 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.153, allocations: 0 / 0.5997 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.1532, allocations: 23.98 kB / 0.5997 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1532, allocations: 4 kB / 0.5997 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1532, allocations: 0 / 0.5997 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1532, allocations: 3.938 kB / 0.5997 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1532, allocations: 4 kB / 0.5997 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.154, allocations: 453.4 kB / 0.6002 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1541, allocations: 136.7 kB / 0.6003 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1541, allocations: 4.062 kB / 0.6003 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1543, allocations: 23.97 kB / 0.6003 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1543, allocations: 7.984 kB / 0.6003 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1543, allocations: 4 kB / 0.6003 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002413/0.1546, allocations: 235.1 kB / 0.6006 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 0.6006 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003673/0.155, allocations: 95.53 kB / 0.6006 GB, free: 5.301 MB / 0.4981 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.0001134/0.1551, allocations: 111.2 kB / 0.6008 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.1557, allocations: 296 kB / 0.601 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1557, allocations: 8 kB / 0.601 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.1559, allocations: 99.91 kB / 0.6011 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1564, allocations: 76.05 kB / 0.6012 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1575, allocations: 0.6832 MB / 0.6019 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1579, allocations: 0.7793 MB / 0.6026 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.158, allocations: 30.28 kB / 0.6027 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1581, allocations: 19.44 kB / 0.6027 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1581, allocations: 3.938 kB / 0.6027 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.006151/0.1642, allocations: 2.93 MB / 0.6056 GB, free: 264 kB / 0.4981 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)