Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001282/0.001282, allocations: 106.5 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.001283/0.001283, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.548/1.548, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.09/1.09, allocations: 175.7 MB / 480.2 MB, free: 3.18 MB / 366.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-master/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_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.3 kB / 0.6684 GB, free: 10.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.234, allocations: 94.54 MB / 0.7607 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003527/0.2375, allocations: 1.97 MB / 0.7626 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2388, allocations: 0.7206 MB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.63e-05/0.2389, allocations: 4 kB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.2392, allocations: 75.66 kB / 0.7634 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.2393, allocations: 95.56 kB / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.2399, allocations: 183.6 kB / 0.7637 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.2402, allocations: 271.4 kB / 0.7639 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2404, allocations: 49.89 kB / 0.764 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2405, allocations: 111.7 kB / 0.7641 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2408, allocations: 163.4 kB / 0.7642 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.2408, allocations: 20 kB / 0.7642 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.241, allocations: 99.91 kB / 0.7643 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.241, allocations: 55.83 kB / 0.7644 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2411, allocations: 99.36 kB / 0.7645 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.2416, allocations: 310.8 kB / 0.7648 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2416, allocations: 4 kB / 0.7648 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2416, allocations: 4 kB / 0.7648 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2416, allocations: 0 / 0.7648 GB, free: 12.11 MB / 0.5762 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.0009203/0.2425, allocations: 0.5855 MB / 0.7654 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2426, allocations: 15.97 kB / 0.7654 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.2426, allocations: 32.75 kB / 0.7654 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.2432, allocations: 311 kB / 0.7657 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.2432, allocations: 20.06 kB / 0.7657 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.2432, allocations: 12 kB / 0.7657 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.2436, allocations: 223.8 kB / 0.7659 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2436, allocations: 0 / 0.7659 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.2437, allocations: 4 kB / 0.7659 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.2437, allocations: 8 kB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.2439, allocations: 132.3 kB / 0.7661 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.2448, allocations: 0.6848 MB / 0.7668 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.2452, allocations: 150.5 kB / 0.7669 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.2454, allocations: 92.2 kB / 0.767 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.2454, allocations: 4 kB / 0.767 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.2457, allocations: 171 kB / 0.7672 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2457, allocations: 0 / 0.7672 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007056/0.2464, allocations: 374.9 kB / 0.7675 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2465, allocations: 144.5 kB / 0.7676 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.2468, allocations: 282.7 kB / 0.7679 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2468, allocations: 29.7 kB / 0.7679 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.247, allocations: 156.3 kB / 0.7681 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.247, allocations: 51.61 kB / 0.7681 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.2471, allocations: 41.7 kB / 0.7682 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.2473, allocations: 338.8 kB / 0.7685 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2474, allocations: 83.95 kB / 0.7686 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.2476, allocations: 137 kB / 0.7687 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.248, allocations: 240 kB / 0.7689 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.248, allocations: 0 / 0.7689 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005077/0.2485, allocations: 337.1 kB / 0.7693 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.2485, allocations: 39.42 kB / 0.7693 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2485, allocations: 3.984 kB / 0.7693 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2486, allocations: 4 kB / 0.7693 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2487, allocations: 23.92 kB / 0.7693 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2487, allocations: 8.094 kB / 0.7693 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.2488, allocations: 31.8 kB / 0.7694 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2488, allocations: 8 kB / 0.7694 GB, free: 7.066 MB / 0.5762 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.000204/0.249, allocations: 183.5 kB / 0.7696 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.2491, allocations: 23.86 kB / 0.7696 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.2491, allocations: 29.83 kB / 0.7696 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2491, allocations: 7.938 kB / 0.7696 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2491, allocations: 4 kB / 0.7696 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2492, allocations: 7.922 kB / 0.7696 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.2495, allocations: 285.4 kB / 0.7699 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2495, allocations: 0 / 0.7699 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.671e-05/0.2496, allocations: 15.98 kB / 0.7699 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2496, allocations: 0 / 0.7699 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2496, allocations: 7.984 kB / 0.7699 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2496, allocations: 0 / 0.7699 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2496, allocations: 0 / 0.7699 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.2503, allocations: 476.1 kB / 0.7704 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.2504, allocations: 104.9 kB / 0.7705 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2505, allocations: 12 kB / 0.7705 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.2505, allocations: 11.98 kB / 0.7705 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.2506, allocations: 27.91 kB / 0.7705 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.2507, allocations: 4 kB / 0.7705 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001952/0.2509, allocations: 213.9 kB / 0.7707 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2509, allocations: 192 / 0.7707 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003037/0.2512, allocations: 59.89 kB / 0.7708 GB, free: 5.512 MB / 0.5762 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.0002064/0.2514, allocations: 131.1 kB / 0.7709 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.2518, allocations: 255.2 kB / 0.7712 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2518, allocations: 192 / 0.7712 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.2521, allocations: 163.3 kB / 0.7713 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2524, allocations: 32.53 kB / 0.7713 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2534, allocations: 484.6 kB / 0.7718 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.2538, allocations: 0.7553 MB / 0.7725 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.879e-05/0.2539, allocations: 21.55 kB / 0.7726 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2539, allocations: 19.44 kB / 0.7726 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2539, allocations: 0 / 0.7726 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of Templates: time 0.006903/0.2608, allocations: 2.885 MB / 0.7754 GB, free: 0.7188 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.299190977588296]