Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9001/0.9001, allocations: 134 MB / 438.5 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] 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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 72.11 kB / 0.6083 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4646, allocations: 84.67 MB / 0.691 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003001/0.4676, allocations: 1.971 MB / 0.693 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4687, allocations: 0.7153 MB / 0.6937 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4688, allocations: 3.125 kB / 0.6937 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.4691, allocations: 81.95 kB / 0.6937 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.4692, allocations: 90 kB / 0.6938 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.4699, allocations: 197.3 kB / 0.694 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.4703, allocations: 266.9 kB / 0.6943 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.4704, allocations: 46.02 kB / 0.6943 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4706, allocations: 113.8 kB / 0.6944 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.4708, allocations: 160.2 kB / 0.6946 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.4708, allocations: 19.81 kB / 0.6946 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.471, allocations: 101.4 kB / 0.6947 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.4711, allocations: 62.89 kB / 0.6947 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.4712, allocations: 100 kB / 0.6948 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.4716, allocations: 314.2 kB / 0.6951 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4716, allocations: 1.375 kB / 0.6951 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4716, allocations: 0 / 0.6951 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.4716, allocations: 0 / 0.6951 GB, free: 15.13 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009704/0.4726, allocations: 0.5974 MB / 0.6957 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4727, allocations: 9.406 kB / 0.6957 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.862e-05/0.4727, allocations: 31.22 kB / 0.6958 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.4733, allocations: 301.4 kB / 0.696 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.4733, allocations: 15.03 kB / 0.6961 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4733, allocations: 18.06 kB / 0.6961 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.4737, allocations: 225.3 kB / 0.6963 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4738, allocations: 0 / 0.6963 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.4738, allocations: 6.438 kB / 0.6963 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.4738, allocations: 2.688 kB / 0.6963 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.4741, allocations: 140.7 kB / 0.6964 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.475, allocations: 0.6814 MB / 0.6971 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.4754, allocations: 154.2 kB / 0.6973 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4755, allocations: 91.77 kB / 0.6973 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4756, allocations: 1.375 kB / 0.6973 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.4759, allocations: 172.9 kB / 0.6975 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.4759, allocations: 0.9375 kB / 0.6975 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007215/0.4766, allocations: 376.2 kB / 0.6979 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4767, allocations: 135.7 kB / 0.698 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.477, allocations: 276.9 kB / 0.6983 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4771, allocations: 32.42 kB / 0.6983 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4772, allocations: 158.4 kB / 0.6984 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.4773, allocations: 45.5 kB / 0.6985 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.4773, allocations: 46.33 kB / 0.6985 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4775, allocations: 345 kB / 0.6989 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.4777, allocations: 83.58 kB / 0.6989 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.4779, allocations: 139.2 kB / 0.6991 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.4783, allocations: 245 kB / 0.6993 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4783, allocations: 3.938 kB / 0.6993 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000588/0.4789, allocations: 332.8 kB / 0.6996 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.479, allocations: 40.56 kB / 0.6997 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.479, allocations: 5.438 kB / 0.6997 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.479, allocations: 2.938 kB / 0.6997 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4791, allocations: 21.27 kB / 0.6997 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4791, allocations: 9.078 kB / 0.6997 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4793, allocations: 30.17 kB / 0.6997 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4793, allocations: 6.562 kB / 0.6997 GB, free: 11.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002107/0.4795, allocations: 194.3 kB / 0.6999 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.4796, allocations: 28.44 kB / 0.6999 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.4796, allocations: 31.45 kB / 0.7 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4796, allocations: 1.312 kB / 0.7 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4796, allocations: 0 / 0.7 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4796, allocations: 5.5 kB / 0.7 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.48, allocations: 285 kB / 0.7003 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.48, allocations: 0 / 0.7003 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4801, allocations: 16.34 kB / 0.7003 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4801, allocations: 1.562 kB / 0.7003 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.4801, allocations: 14.78 kB / 0.7003 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4801, allocations: 4 kB / 0.7003 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4801, allocations: 5.469 kB / 0.7003 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008082/0.4809, allocations: 465.7 kB / 0.7007 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.481, allocations: 98.3 kB / 0.7008 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.481, allocations: 7.938 kB / 0.7008 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4811, allocations: 16.67 kB / 0.7009 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4813, allocations: 33.53 kB / 0.7009 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4813, allocations: 8.047 kB / 0.7009 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002258/0.4815, allocations: 203 kB / 0.7011 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4815, allocations: 0 / 0.7011 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003098/0.4818, allocations: 59.14 kB / 0.7011 GB, free: 10.42 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002276/0.482, allocations: 128.5 kB / 0.7013 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.4826, allocations: 258.7 kB / 0.7015 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4826, allocations: 0 / 0.7015 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4828, allocations: 163.8 kB / 0.7017 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4831, allocations: 33.97 kB / 0.7017 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4842, allocations: 491.6 kB / 0.7022 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4846, allocations: 0.752 MB / 0.7029 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.4846, allocations: 14.58 kB / 0.7029 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.4847, allocations: 24.38 kB / 0.7029 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.4847, allocations: 1.781 kB / 0.7029 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of Templates: time 0.007308/0.492, allocations: 2.889 MB / 0.7058 GB, free: 6.504 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.838627032004297]