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.001287/0.001287, allocations: 106.4 kB / 16.36 MB, free: 6.293 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.00134/0.00134, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7826/0.7826, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3749, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003791/0.3787, allocations: 2.61 MB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3803, allocations: 0.9146 MB / 0.5849 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.3805, allocations: 11.84 kB / 0.5849 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.3807, allocations: 63.33 kB / 0.585 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.3808, allocations: 67.12 kB / 0.5851 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3813, allocations: 234 kB / 0.5853 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.3816, allocations: 454.1 kB / 0.5857 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.382, allocations: 225.8 kB / 0.5859 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3821, allocations: 148.5 kB / 0.5861 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3822, allocations: 146.1 kB / 0.5862 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.3823, allocations: 48.78 kB / 0.5863 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.3824, allocations: 52.53 kB / 0.5863 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.3824, allocations: 96.75 kB / 0.5864 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3826, allocations: 188.3 kB / 0.5866 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.383, allocations: 0.6145 MB / 0.5872 GB, free: 23.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.383, allocations: 1.312 kB / 0.5872 GB, free: 23.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.383, allocations: 4.781 kB / 0.5872 GB, free: 23.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.383, allocations: 0 / 0.5872 GB, free: 23.04 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.0007992/0.3838, allocations: 0.6478 MB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3839, allocations: 11.53 kB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.384, allocations: 39.31 kB / 0.5879 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.3844, allocations: 392.4 kB / 0.5882 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3845, allocations: 20.44 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.3845, allocations: 27.94 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3851, allocations: 329.5 kB / 0.5886 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3851, allocations: 1.875 kB / 0.5886 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3851, allocations: 18.58 kB / 0.5886 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3851, allocations: 7 kB / 0.5886 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.3856, allocations: 234.5 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.387, allocations: 1.157 MB / 0.59 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.3874, allocations: 239.3 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.3876, allocations: 97.45 kB / 0.5903 GB, free: 20.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3876, allocations: 2.625 kB / 0.5903 GB, free: 20.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3877, allocations: 37.69 kB / 0.5903 GB, free: 20.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3877, allocations: 0 / 0.5903 GB, free: 20.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005894/0.3883, allocations: 294.5 kB / 0.5906 GB, free: 20.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3883, allocations: 89 kB / 0.5907 GB, free: 20.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3886, allocations: 327.7 kB / 0.591 GB, free: 20 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3886, allocations: 30.64 kB / 0.5911 GB, free: 19.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3887, allocations: 194.7 kB / 0.5912 GB, free: 19.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3888, allocations: 59.59 kB / 0.5913 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.3889, allocations: 41.02 kB / 0.5913 GB, free: 19.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.3889, allocations: 341.4 kB / 0.5917 GB, free: 19.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3891, allocations: 91.86 kB / 0.5917 GB, free: 19.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.3893, allocations: 117.9 kB / 0.5919 GB, free: 19.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.3896, allocations: 187.7 kB / 0.592 GB, free: 19.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3896, allocations: 0 / 0.592 GB, free: 19.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003709/0.39, allocations: 258.1 kB / 0.5923 GB, free: 18.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.39, allocations: 6.188 kB / 0.5923 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.39, allocations: 0.9062 kB / 0.5923 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.39, allocations: 4 kB / 0.5923 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3902, allocations: 33.3 kB / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3902, allocations: 0 / 0.5923 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3904, allocations: 31.77 kB / 0.5924 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3904, allocations: 8.688 kB / 0.5924 GB, free: 18.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001851/0.3906, allocations: 196.1 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001218/0.3907, allocations: 102.4 kB / 0.5927 GB, free: 18.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002136/0.3909, allocations: 165.9 kB / 0.5928 GB, free: 18.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.3909, allocations: 0 / 0.5928 GB, free: 18.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002851/0.3912, allocations: 227.6 kB / 0.593 GB, free: 18.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/0.3912, allocations: 4.531 kB / 0.593 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.3912, allocations: 4 kB / 0.593 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.3913, allocations: 2 kB / 0.593 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3914, allocations: 31.98 kB / 0.5931 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.3914, allocations: 7.875 kB / 0.5931 GB, free: 18.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3915, allocations: 11.84 kB / 0.5931 GB, free: 18.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3915, allocations: 16.5 kB / 0.5931 GB, free: 18.01 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.702e-05/0.3916, allocations: 182 kB / 0.5933 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.3917, allocations: 35.56 kB / 0.5933 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.3917, allocations: 35.28 kB / 0.5933 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3917, allocations: 4 kB / 0.5933 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3917, allocations: 0.9688 kB / 0.5933 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3918, allocations: 7.922 kB / 0.5934 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.3921, allocations: 406.3 kB / 0.5937 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3921, allocations: 0 / 0.5937 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3922, allocations: 27.92 kB / 0.5938 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3922, allocations: 0.5312 kB / 0.5938 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3923, allocations: 9.75 kB / 0.5938 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3923, allocations: 0 / 0.5938 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3923, allocations: 0 / 0.5938 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/0.3928, allocations: 441.9 kB / 0.5942 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.3929, allocations: 120.8 kB / 0.5943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.393, allocations: 11.98 kB / 0.5943 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3931, allocations: 8.484 kB / 0.5943 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.3932, allocations: 20.55 kB / 0.5944 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3932, allocations: 3.938 kB / 0.5944 GB, free: 16.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3934, allocations: 231.6 kB / 0.5946 GB, free: 16.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3934, allocations: 0.9375 kB / 0.5946 GB, free: 16.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.3937, allocations: 95.53 kB / 0.5947 GB, free: 16.32 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.364e-05/0.3938, allocations: 100.5 kB / 0.5948 GB, free: 16.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3943, allocations: 288.7 kB / 0.595 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3943, allocations: 0 / 0.595 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3945, allocations: 97.31 kB / 0.5951 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.395, allocations: 90.38 kB / 0.5952 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.3959, allocations: 0.5414 MB / 0.5958 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.3961, allocations: 0.7751 MB / 0.5965 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.3963, allocations: 28.22 kB / 0.5965 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.3963, allocations: 19.44 kB / 0.5966 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3963, allocations: 2.25 kB / 0.5966 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.005623/0.402, allocations: 3.156 MB / 0.5996 GB, free: 11.27 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)