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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.916/0.916, allocations: 133.9 MB / 439 MB, free: 13.76 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.88 kB / 0.6087 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4738, allocations: 84.68 MB / 0.6914 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003013/0.4768, allocations: 1.944 MB / 0.6933 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4779, allocations: 0.7107 MB / 0.694 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.478, allocations: 6.188 kB / 0.694 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.4782, allocations: 81.95 kB / 0.6941 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.4784, allocations: 93.34 kB / 0.6942 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.4789, allocations: 186.8 kB / 0.6944 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.4793, allocations: 267 kB / 0.6946 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4795, allocations: 52.58 kB / 0.6947 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.4797, allocations: 119 kB / 0.6948 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.4799, allocations: 166.7 kB / 0.6949 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.48, allocations: 20.69 kB / 0.695 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.4801, allocations: 93.17 kB / 0.6951 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.4802, allocations: 62.11 kB / 0.6951 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4804, allocations: 101.5 kB / 0.6952 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.4808, allocations: 318.2 kB / 0.6955 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4808, allocations: 1.375 kB / 0.6955 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4808, allocations: 0 / 0.6955 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4809, allocations: 0 / 0.6955 GB, free: 15.31 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.001021/0.4819, allocations: 0.5921 MB / 0.6961 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4819, allocations: 9.312 kB / 0.6961 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.482, allocations: 31.41 kB / 0.6961 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.4826, allocations: 309.1 kB / 0.6964 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.4826, allocations: 15.91 kB / 0.6964 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.4827, allocations: 12.69 kB / 0.6965 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004542/0.4831, allocations: 221.2 kB / 0.6967 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4831, allocations: 2 kB / 0.6967 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.4832, allocations: 6 kB / 0.6967 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4832, allocations: 6.75 kB / 0.6967 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.4834, allocations: 132.4 kB / 0.6968 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4845, allocations: 0.6801 MB / 0.6975 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.4848, allocations: 159.7 kB / 0.6976 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.485, allocations: 82.33 kB / 0.6977 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.485, allocations: 1.375 kB / 0.6977 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.4853, allocations: 174.8 kB / 0.6979 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4853, allocations: 0 / 0.6979 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007283/0.486, allocations: 380.2 kB / 0.6982 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.4861, allocations: 132.5 kB / 0.6984 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4864, allocations: 275.2 kB / 0.6986 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.4865, allocations: 32.27 kB / 0.6987 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.4866, allocations: 163.6 kB / 0.6988 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.4867, allocations: 45.55 kB / 0.6989 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.4867, allocations: 37.59 kB / 0.6989 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4869, allocations: 341.4 kB / 0.6992 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.4871, allocations: 84.33 kB / 0.6993 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4873, allocations: 138.9 kB / 0.6994 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.4876, allocations: 242.3 kB / 0.6997 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4876, allocations: 0 / 0.6997 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005825/0.4882, allocations: 344.7 kB / 0.7 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.4883, allocations: 37.61 kB / 0.7 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4883, allocations: 1.125 kB / 0.7 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4883, allocations: 1.219 kB / 0.7 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.4884, allocations: 25.73 kB / 0.7 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4884, allocations: 2.5 kB / 0.7001 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.4885, allocations: 34.42 kB / 0.7001 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4886, allocations: 5.656 kB / 0.7001 GB, free: 11.68 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.0002085/0.4888, allocations: 205 kB / 0.7003 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.4888, allocations: 25.42 kB / 0.7003 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.4889, allocations: 31.27 kB / 0.7003 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4889, allocations: 0.9688 kB / 0.7003 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4889, allocations: 0 / 0.7003 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4889, allocations: 5.062 kB / 0.7003 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.4892, allocations: 281.4 kB / 0.7006 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4892, allocations: 1.281 kB / 0.7006 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.4893, allocations: 18.98 kB / 0.7006 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4893, allocations: 5.469 kB / 0.7006 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4893, allocations: 6.875 kB / 0.7006 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4893, allocations: 1.031 kB / 0.7006 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4893, allocations: 3.984 kB / 0.7006 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007666/0.4901, allocations: 477.2 kB / 0.7011 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.4902, allocations: 99.98 kB / 0.7012 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.4902, allocations: 12 kB / 0.7012 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4903, allocations: 15.89 kB / 0.7012 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.4904, allocations: 28.89 kB / 0.7013 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.4904, allocations: 5.188 kB / 0.7013 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002082/0.4906, allocations: 201.9 kB / 0.7015 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4906, allocations: 0 / 0.7015 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003113/0.491, allocations: 62.78 kB / 0.7015 GB, free: 10.62 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.0002318/0.4912, allocations: 137.2 kB / 0.7016 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.4917, allocations: 258.4 kB / 0.7019 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4917, allocations: 0 / 0.7019 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.4919, allocations: 156.1 kB / 0.702 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4922, allocations: 35.64 kB / 0.7021 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4933, allocations: 0.4978 MB / 0.7026 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.4938, allocations: 0.7563 MB / 0.7033 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.4938, allocations: 18.09 kB / 0.7033 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.4938, allocations: 1.469 kB / 0.7033 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of Templates: time 0.005845/0.4997, allocations: 3.013 MB / 0.7063 GB, free: 6.648 MB / 0.5137 GB [Timeout remaining time 659] 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]