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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 169 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9573/0.9573, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7456/0.7456, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.054e-06/2.054e-06, allocations: 0 / 0.5208 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.645e-05, allocations: 3.562 kB / 0.5208 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002239/0.002255, allocations: 1.953 MB / 0.5227 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.003205, allocations: 0.7087 MB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.003311, allocations: 7.938 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.003498, allocations: 79.59 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003599, allocations: 101.2 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.004007, allocations: 181.8 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.004242, allocations: 259.4 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.004365, allocations: 61.67 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.004526, allocations: 161 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.004669, allocations: 135.7 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.004695, allocations: 17.59 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.004803, allocations: 87.88 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.004859, allocations: 59.77 kB / 0.5245 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.00491, allocations: 59.83 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.005141, allocations: 229.5 kB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005142, allocations: 0 / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005143, allocations: 0 / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.005147, allocations: 0 / 0.5247 GB, free: 13.87 MB / 0.4948 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.0005092/0.005656, allocations: 0.5945 MB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.005688, allocations: 8.594 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.005738, allocations: 44.75 kB / 0.5254 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005928, allocations: 229 kB / 0.5256 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.005944, allocations: 8.375 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.005969, allocations: 24.88 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.006175, allocations: 261.1 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.006182, allocations: 192 / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006194, allocations: 8.375 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.006201, allocations: 8.875 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.006273, allocations: 70.12 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.006742, allocations: 0.6834 MB / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006852, allocations: 105.9 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.006898, allocations: 69.44 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.006907, allocations: 4.688 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.007019, allocations: 146.2 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.00702, allocations: 1.281 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002545/0.007275, allocations: 254.4 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.00732, allocations: 135.8 kB / 0.5273 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.007478, allocations: 308.2 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.007495, allocations: 33.7 kB / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.007589, allocations: 211 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.007615, allocations: 39.62 kB / 0.5279 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.007665, allocations: 47.34 kB / 0.5279 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.007785, allocations: 0.5196 MB / 0.5284 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.007828, allocations: 61.58 kB / 0.5285 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.007906, allocations: 160.5 kB / 0.5286 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.007999, allocations: 151 kB / 0.5288 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.008001, allocations: 0 / 0.5288 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001994/0.0082, allocations: 243 kB / 0.529 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.008226, allocations: 39.14 kB / 0.529 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008231, allocations: 4 kB / 0.529 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.00824, allocations: 0 / 0.529 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.008301, allocations: 19.98 kB / 0.5291 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.008304, allocations: 4.5 kB / 0.5291 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.008357, allocations: 26.38 kB / 0.5291 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.008366, allocations: 4 kB / 0.5291 GB, free: 9.008 MB / 0.4948 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 9.31e-05/0.008459, allocations: 209.5 kB / 0.5293 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.008486, allocations: 35.73 kB / 0.5293 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.008517, allocations: 29.77 kB / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008518, allocations: 2.438 kB / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00852, allocations: 0 / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008523, allocations: 0 / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.008643, allocations: 173.1 kB / 0.5295 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008645, allocations: 0 / 0.5295 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.008688, allocations: 15.94 kB / 0.5295 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.008689, allocations: 1.75 kB / 0.5295 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.008701, allocations: 11.98 kB / 0.5296 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008702, allocations: 3.938 kB / 0.5296 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008704, allocations: 3.984 kB / 0.5296 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.008968, allocations: 324.3 kB / 0.5299 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.008987, allocations: 15.86 kB / 0.5299 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.00901, allocations: 11.94 kB / 0.5299 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.009054, allocations: 24.86 kB / 0.5299 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.00911, allocations: 23.95 kB / 0.5299 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.009122, allocations: 5.125 kB / 0.5299 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.009207, allocations: 201.1 kB / 0.5301 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009207, allocations: 0 / 0.5301 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001747/0.009382, allocations: 66.25 kB / 0.5302 GB, free: 7.801 MB / 0.4948 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.0001163/0.009498, allocations: 127.2 kB / 0.5303 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.009672, allocations: 216.8 kB / 0.5305 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009673, allocations: 0 / 0.5305 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.009757, allocations: 144.7 kB / 0.5307 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.009922, allocations: 42.64 kB / 0.5307 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.01034, allocations: 413.2 kB / 0.5311 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.184e-05/0.01038, allocations: 85.09 kB / 0.5312 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.01043, allocations: 16.33 kB / 0.5312 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.01054, allocations: 130.1 kB / 0.5313 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01055, allocations: 1.5 kB / 0.5313 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of Templates: time 0.004435/0.01498, allocations: 3.128 MB / 0.5344 GB, free: 3.613 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5321892630308867]