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.001379/0.001379, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001361/0.001361, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 135.2 MB / 426.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 80.92 MB / 0.585 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003478/0.3208, allocations: 2.594 MB / 0.5876 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3221, allocations: 0.9105 MB / 0.5885 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.3224, allocations: 7.594 kB / 0.5885 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.3226, allocations: 67.39 kB / 0.5885 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.3227, allocations: 62.86 kB / 0.5886 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3231, allocations: 242.9 kB / 0.5888 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.3235, allocations: 453.2 kB / 0.5893 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.3238, allocations: 223.5 kB / 0.5895 GB, free: 22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3239, allocations: 145.1 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.324, allocations: 149.1 kB / 0.5898 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.3241, allocations: 50.41 kB / 0.5898 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-05/0.3242, allocations: 50.47 kB / 0.5899 GB, free: 21.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.3242, allocations: 88.58 kB / 0.5899 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.3243, allocations: 195 kB / 0.5901 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.3247, allocations: 0.5992 MB / 0.5907 GB, free: 20.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3247, allocations: 0 / 0.5907 GB, free: 20.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3247, allocations: 3.938 kB / 0.5907 GB, free: 20.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3247, allocations: 0 / 0.5907 GB, free: 20.85 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.0007256/0.3254, allocations: 0.6498 MB / 0.5914 GB, free: 20.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3255, allocations: 13.11 kB / 0.5914 GB, free: 20.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.3255, allocations: 44.38 kB / 0.5914 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.3259, allocations: 376.6 kB / 0.5918 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3259, allocations: 24.94 kB / 0.5918 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.326, allocations: 28.38 kB / 0.5918 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.3264, allocations: 327.6 kB / 0.5921 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3264, allocations: 8.5 kB / 0.5921 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.3265, allocations: 17.52 kB / 0.5922 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3265, allocations: 8 kB / 0.5922 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.3269, allocations: 227.6 kB / 0.5924 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.328, allocations: 1.169 MB / 0.5935 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.3284, allocations: 234.1 kB / 0.5937 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3286, allocations: 96.86 kB / 0.5938 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3286, allocations: 0.5625 kB / 0.5938 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3287, allocations: 39.25 kB / 0.5939 GB, free: 17.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3287, allocations: 2.438 kB / 0.5939 GB, free: 17.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005662/0.3293, allocations: 293.2 kB / 0.5942 GB, free: 17.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3293, allocations: 82.11 kB / 0.5942 GB, free: 17.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3295, allocations: 332.4 kB / 0.5946 GB, free: 16.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3296, allocations: 33.7 kB / 0.5946 GB, free: 16.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.3297, allocations: 193 kB / 0.5948 GB, free: 16.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3297, allocations: 51.2 kB / 0.5948 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.3298, allocations: 42.77 kB / 0.5949 GB, free: 16.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.3298, allocations: 340.4 kB / 0.5952 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.33, allocations: 84.83 kB / 0.5953 GB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3302, allocations: 124.9 kB / 0.5954 GB, free: 15.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3305, allocations: 191.5 kB / 0.5956 GB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3305, allocations: 0 / 0.5956 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003786/0.3309, allocations: 253.1 kB / 0.5958 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3309, allocations: 4 kB / 0.5958 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3309, allocations: 3.984 kB / 0.5958 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3309, allocations: 4.5 kB / 0.5958 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.3311, allocations: 36.55 kB / 0.5959 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3311, allocations: 1.125 kB / 0.5959 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3312, allocations: 31.62 kB / 0.5959 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3313, allocations: 12.98 kB / 0.5959 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001797/0.3315, allocations: 188.1 kB / 0.5961 GB, free: 15.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001255/0.3316, allocations: 108.2 kB / 0.5962 GB, free: 15.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002103/0.3318, allocations: 155.2 kB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3318, allocations: 11.86 kB / 0.5963 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002979/0.3321, allocations: 232.4 kB / 0.5966 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.3321, allocations: 7.938 kB / 0.5966 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.3321, allocations: 5.5 kB / 0.5966 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.3322, allocations: 0 / 0.5966 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3323, allocations: 31.98 kB / 0.5966 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.3323, allocations: 0 / 0.5966 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3324, allocations: 13.72 kB / 0.5966 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3324, allocations: 7.938 kB / 0.5966 GB, free: 14.55 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.224e-05/0.3325, allocations: 196.2 kB / 0.5968 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.3326, allocations: 32.78 kB / 0.5968 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.3327, allocations: 35.28 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3327, allocations: 1.562 kB / 0.5969 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3327, allocations: 4 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3327, allocations: 3.938 kB / 0.5969 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.333, allocations: 405.3 kB / 0.5973 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.333, allocations: 0 / 0.5973 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3332, allocations: 25.39 kB / 0.5973 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3332, allocations: 0 / 0.5973 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.3332, allocations: 8 kB / 0.5973 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3333, allocations: 5.5 kB / 0.5973 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3333, allocations: 0 / 0.5973 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.3339, allocations: 440.7 kB / 0.5977 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.334, allocations: 132.7 kB / 0.5979 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.334, allocations: 4 kB / 0.5979 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3341, allocations: 8 kB / 0.5979 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3342, allocations: 15.92 kB / 0.5979 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3342, allocations: 7.375 kB / 0.5979 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.3344, allocations: 231.1 kB / 0.5981 GB, free: 12.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3344, allocations: 0 / 0.5981 GB, free: 12.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.3348, allocations: 95.53 kB / 0.5982 GB, free: 12.85 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 0.000111/0.3349, allocations: 115.2 kB / 0.5983 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.3355, allocations: 284.7 kB / 0.5986 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3355, allocations: 0 / 0.5986 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3357, allocations: 96.44 kB / 0.5987 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3363, allocations: 82.97 kB / 0.5988 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.3372, allocations: 0.6012 MB / 0.5993 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.3374, allocations: 0.776 MB / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.3375, allocations: 23.44 kB / 0.6001 GB, free: 10.84 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3375, allocations: 1.719 kB / 0.6001 GB, free: 10.84 MB / 446.1 MB Notification: Performance of Templates: time 0.004945/0.3424, allocations: 3.966 MB / 0.604 GB, free: 6.906 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)