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.001626/0.001626, allocations: 110 kB / 18.94 MB, free: 2.789 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.00223/0.00223, allocations: 192.2 kB / 22.23 MB, free: 5.234 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.567/1.567, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/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.236/1.236, allocations: 177.9 MB / 484.2 MB, free: 5.375 MB / 382.1 MB
"
[Timeout remaining time 178]
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.002102/0.002102, allocations: 68.39 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.73, allocations: 95.17 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00345/0.7335, allocations: 1.965 MB / 0.7688 GB, free: 6.918 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001313/0.7348, allocations: 0.7266 MB / 0.7695 GB, free: 6.414 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.7349, allocations: 6.031 kB / 0.7695 GB, free: 6.41 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.7352, allocations: 82.2 kB / 0.7696 GB, free: 6.391 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.7354, allocations: 90.67 kB / 0.7697 GB, free: 6.363 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.736, allocations: 186.3 kB / 0.7699 GB, free: 6.266 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0003449/0.7363, allocations: 265.2 kB / 0.7701 GB, free: 6.148 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.7365, allocations: 49.53 kB / 0.7702 GB, free: 6.125 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.7367, allocations: 125.3 kB / 0.7703 GB, free: 6.07 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.737, allocations: 160.2 kB / 0.7705 GB, free: 6.02 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.737, allocations: 20.28 kB / 0.7705 GB, free: 6.02 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.7372, allocations: 96.06 kB / 0.7706 GB, free: 5.996 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 9.502e-05/0.7373, allocations: 65.17 kB / 0.7706 GB, free: 5.953 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.7374, allocations: 109 kB / 0.7707 GB, free: 5.875 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.7379, allocations: 312.9 kB / 0.771 GB, free: 5.75 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7379, allocations: 0 / 0.771 GB, free: 5.75 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.412e-06/0.7379, allocations: 1.031 kB / 0.771 GB, free: 5.75 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 7.053e-06/0.7379, allocations: 0 / 0.771 GB, free: 5.75 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.0008845/0.7388, allocations: 0.5107 MB / 0.7715 GB, free: 5.324 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7388, allocations: 9.156 kB / 0.7715 GB, free: 5.324 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.822e-05/0.7389, allocations: 31.06 kB / 0.7716 GB, free: 5.309 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.7394, allocations: 249.1 kB / 0.7718 GB, free: 5.109 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.7394, allocations: 18.33 kB / 0.7718 GB, free: 5.098 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.7395, allocations: 14.03 kB / 0.7718 GB, free: 5.094 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.7399, allocations: 221.2 kB / 0.7721 GB, free: 4.969 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.7399, allocations: 0 / 0.7721 GB, free: 4.969 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.7399, allocations: 8.609 kB / 0.7721 GB, free: 4.965 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.7399, allocations: 6.625 kB / 0.7721 GB, free: 4.961 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.7402, allocations: 132.9 kB / 0.7722 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.741, allocations: 0.6509 MB / 0.7728 GB, free: 4.395 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.7414, allocations: 159.4 kB / 0.773 GB, free: 4.328 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.7416, allocations: 86.16 kB / 0.7731 GB, free: 4.301 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.7416, allocations: 0.875 kB / 0.7731 GB, free: 4.301 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.7419, allocations: 169.7 kB / 0.7732 GB, free: 4.195 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.7419, allocations: 0 / 0.7732 GB, free: 4.195 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=15): time 0.0007716/0.7426, allocations: 380.3 kB / 0.7736 GB, free: 4.051 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.7427, allocations: 136.9 kB / 0.7737 GB, free: 3.891 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.7431, allocations: 285.7 kB / 0.774 GB, free: 3.727 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.7431, allocations: 34.61 kB / 0.774 GB, free: 3.691 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.7432, allocations: 153.7 kB / 0.7742 GB, free: 3.559 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.7433, allocations: 52.48 kB / 0.7742 GB, free: 3.52 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.7433, allocations: 38.89 kB / 0.7743 GB, free: 3.492 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 7.527e-05/0.7434, allocations: 337.2 kB / 0.7746 GB, free: 3.168 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.7436, allocations: 86.72 kB / 0.7747 GB, free: 3.145 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.7438, allocations: 133.9 kB / 0.7748 GB, free: 3.066 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.7442, allocations: 237.6 kB / 0.775 GB, free: 2.926 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7442, allocations: 0 / 0.775 GB, free: 2.926 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005981/0.7448, allocations: 338.2 kB / 0.7753 GB, free: 2.781 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.7448, allocations: 40.66 kB / 0.7754 GB, free: 2.746 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7449, allocations: 1.156 kB / 0.7754 GB, free: 2.746 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7449, allocations: 2.281 kB / 0.7754 GB, free: 2.746 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.745, allocations: 21.31 kB / 0.7754 GB, free: 2.746 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.745, allocations: 2.219 kB / 0.7754 GB, free: 2.746 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.7452, allocations: 33.83 kB / 0.7754 GB, free: 2.727 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.7452, allocations: 7.516 kB / 0.7754 GB, free: 2.727 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.000172/0.7453, allocations: 197.6 kB / 0.7756 GB, free: 2.555 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.7454, allocations: 26.08 kB / 0.7757 GB, free: 2.543 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.7454, allocations: 29.86 kB / 0.7757 GB, free: 2.523 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7454, allocations: 1.219 kB / 0.7757 GB, free: 2.523 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7455, allocations: 2.5 kB / 0.7757 GB, free: 2.523 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7455, allocations: 4.594 kB / 0.7757 GB, free: 2.52 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.7457, allocations: 260.1 kB / 0.7759 GB, free: 2.316 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7458, allocations: 4 kB / 0.7759 GB, free: 2.312 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7459, allocations: 19.17 kB / 0.776 GB, free: 2.309 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.7459, allocations: 0.7812 kB / 0.776 GB, free: 2.309 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.7459, allocations: 4.219 kB / 0.776 GB, free: 2.309 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7459, allocations: 1.344 kB / 0.776 GB, free: 2.309 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7459, allocations: 4.031 kB / 0.776 GB, free: 2.305 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.7467, allocations: 472.8 kB / 0.7764 GB, free: 2.094 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.7468, allocations: 23.45 kB / 0.7765 GB, free: 2.078 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.7468, allocations: 8.859 kB / 0.7765 GB, free: 2.074 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.7469, allocations: 11.73 kB / 0.7765 GB, free: 2.074 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.7471, allocations: 32.14 kB / 0.7765 GB, free: 2.062 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.7471, allocations: 9.375 kB / 0.7765 GB, free: 2.059 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0002005/0.7473, allocations: 203.3 kB / 0.7767 GB, free: 1.949 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.7473, allocations: 0 / 0.7767 GB, free: 1.949 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003303/0.7476, allocations: 64.62 kB / 0.7768 GB, free: 1.934 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.0002107/0.7478, allocations: 132 kB / 0.7769 GB, free: 1.836 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.000501/0.7483, allocations: 260.8 kB / 0.7771 GB, free: 1.719 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7483, allocations: 0 / 0.7771 GB, free: 1.719 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.7486, allocations: 156 kB / 0.7773 GB, free: 1.629 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.7489, allocations: 35.36 kB / 0.7773 GB, free: 1.613 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.75, allocations: 475.2 kB / 0.7778 GB, free: 1.352 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.7502, allocations: 0.7582 MB / 0.7785 GB, free: 0.6445 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 8.065e-05/0.7503, allocations: 22.52 kB / 0.7785 GB, free: 0.6367 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.7503, allocations: 22.55 kB / 0.7786 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of SimCode: time 3e-07/0.7503, allocations: 0 / 0.7786 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of Templates: time 0.007878/0.7582, allocations: 2.924 MB / 0.7814 GB, free: 420 kB / 0.5762 GB
"
[Timeout remaining time 659]
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.977025312371552]
Failed to read output from testmodel.py, exit status != 0:
0.7668613977730274 0.7832243130000001 0.042081343
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f904e6657b0>