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.001111/0.001111, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001035/0.001035, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7786/0.7786, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004002/0.3475, allocations: 2.601 MB / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3491, allocations: 0.918 MB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.3493, allocations: 11.84 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.3496, allocations: 66.86 kB / 0.585 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3498, allocations: 66.48 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.3503, allocations: 235 kB / 0.5853 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.3508, allocations: 460.3 kB / 0.5857 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/0.3512, allocations: 227.7 kB / 0.586 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3514, allocations: 140.3 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3515, allocations: 148.8 kB / 0.5862 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.3516, allocations: 49.31 kB / 0.5863 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.3517, allocations: 50.44 kB / 0.5863 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.3518, allocations: 93.22 kB / 0.5864 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3519, allocations: 188.7 kB / 0.5866 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004863/0.3524, allocations: 0.6196 MB / 0.5872 GB, free: 23.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3524, allocations: 1.438 kB / 0.5872 GB, free: 23.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3525, allocations: 0 / 0.5872 GB, free: 23.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3525, allocations: 0 / 0.5872 GB, free: 23.1 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.0008658/0.3533, allocations: 0.6481 MB / 0.5878 GB, free: 22.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3534, allocations: 13.31 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.3535, allocations: 42.19 kB / 0.5879 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3539, allocations: 391.1 kB / 0.5883 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.354, allocations: 26.09 kB / 0.5883 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.354, allocations: 29.41 kB / 0.5883 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.3546, allocations: 330.7 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3546, allocations: 1.094 kB / 0.5886 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3546, allocations: 11.09 kB / 0.5886 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3546, allocations: 6.25 kB / 0.5886 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3551, allocations: 235.2 kB / 0.5889 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3563, allocations: 1.157 MB / 0.59 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.3567, allocations: 228.3 kB / 0.5902 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.3569, allocations: 99.06 kB / 0.5903 GB, free: 20.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3569, allocations: 11.83 kB / 0.5903 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.357, allocations: 32.72 kB / 0.5904 GB, free: 20.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.357, allocations: 0 / 0.5904 GB, free: 20.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006011/0.3576, allocations: 295.3 kB / 0.5906 GB, free: 20.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3576, allocations: 78.52 kB / 0.5907 GB, free: 20.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.3579, allocations: 332.6 kB / 0.591 GB, free: 20.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.358, allocations: 28.8 kB / 0.5911 GB, free: 20.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.3581, allocations: 194.8 kB / 0.5912 GB, free: 19.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.3581, allocations: 58.38 kB / 0.5913 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.3582, allocations: 39.48 kB / 0.5913 GB, free: 19.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.994e-05/0.3583, allocations: 338.1 kB / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3584, allocations: 93.86 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.3586, allocations: 121.7 kB / 0.5919 GB, free: 19.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3589, allocations: 184.2 kB / 0.592 GB, free: 19.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3589, allocations: 1.312 kB / 0.592 GB, free: 19.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000362/0.3593, allocations: 260.5 kB / 0.5923 GB, free: 18.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3593, allocations: 4 kB / 0.5923 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3593, allocations: 1.531 kB / 0.5923 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3593, allocations: 0 / 0.5923 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3595, allocations: 39.91 kB / 0.5923 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3595, allocations: 3.938 kB / 0.5923 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3597, allocations: 24.5 kB / 0.5924 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3597, allocations: 4.844 kB / 0.5924 GB, free: 18.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001774/0.3599, allocations: 200.1 kB / 0.5926 GB, free: 18.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001157/0.36, allocations: 102.6 kB / 0.5927 GB, free: 18.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001946/0.3602, allocations: 162.5 kB / 0.5928 GB, free: 18.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.3602, allocations: 1.969 kB / 0.5928 GB, free: 18.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002789/0.3605, allocations: 232.1 kB / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.3605, allocations: 4 kB / 0.593 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.3605, allocations: 4 kB / 0.593 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.3605, allocations: 5.562 kB / 0.593 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3606, allocations: 27.92 kB / 0.5931 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.3606, allocations: 7.938 kB / 0.5931 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3607, allocations: 17.47 kB / 0.5931 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3608, allocations: 7.938 kB / 0.5931 GB, free: 18.04 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 7.041e-05/0.3608, allocations: 188.2 kB / 0.5933 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3609, allocations: 34.34 kB / 0.5933 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.3609, allocations: 39.27 kB / 0.5934 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.361, allocations: 3.984 kB / 0.5934 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.361, allocations: 0 / 0.5934 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.361, allocations: 7.938 kB / 0.5934 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.3613, allocations: 405.3 kB / 0.5937 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3613, allocations: 0 / 0.5937 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.3614, allocations: 29.92 kB / 0.5938 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3615, allocations: 0 / 0.5938 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3615, allocations: 0 / 0.5938 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3615, allocations: 4 kB / 0.5938 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3615, allocations: 0 / 0.5938 GB, free: 17.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.362, allocations: 450.1 kB / 0.5942 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3621, allocations: 120.8 kB / 0.5943 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3622, allocations: 11.98 kB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3623, allocations: 4 kB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3624, allocations: 15.92 kB / 0.5944 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3624, allocations: 4 kB / 0.5944 GB, free: 16.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3626, allocations: 236.5 kB / 0.5946 GB, free: 16.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.91e-07/0.3626, allocations: 0 / 0.5946 GB, free: 16.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.3629, allocations: 95.47 kB / 0.5947 GB, free: 16.34 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.218e-05/0.363, allocations: 105.4 kB / 0.5948 GB, free: 16.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004954/0.3635, allocations: 284.5 kB / 0.595 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3635, allocations: 2.281 kB / 0.5951 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3637, allocations: 95.91 kB / 0.5951 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.3642, allocations: 84.34 kB / 0.5952 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008902/0.3651, allocations: 0.5513 MB / 0.5958 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3653, allocations: 0.7752 MB / 0.5965 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3654, allocations: 27.38 kB / 0.5965 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.3655, allocations: 21.88 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3655, allocations: 0 / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.00567/0.3712, allocations: 3.157 MB / 0.5996 GB, free: 11.28 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)