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.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.001509/0.001509, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001063/0.001063, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.993/0.993, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7911/0.7911, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 75.08 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5264, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002814/0.5292, allocations: 1.988 MB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.5308, allocations: 0.759 MB / 0.8205 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.5309, allocations: 7.188 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.5312, allocations: 76.97 kB / 0.8206 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.5314, allocations: 85.98 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.5321, allocations: 196.1 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.5326, allocations: 256.1 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.5328, allocations: 65.33 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.533, allocations: 120.6 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.5333, allocations: 154.7 kB / 0.8215 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.917e-05/0.5334, allocations: 20.5 kB / 0.8215 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.5337, allocations: 97.02 kB / 0.8216 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.5338, allocations: 63.48 kB / 0.8216 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.5339, allocations: 107.2 kB / 0.8217 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.5346, allocations: 311 kB / 0.822 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.5346, allocations: 0 / 0.822 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5346, allocations: 0 / 0.822 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5346, allocations: 0.7969 kB / 0.822 GB, free: 14.68 MB / 0.6198 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.0009966/0.5356, allocations: 0.5089 MB / 0.8225 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5357, allocations: 9.75 kB / 0.8225 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.5358, allocations: 45.61 kB / 0.8226 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.5359, allocations: 31.58 kB / 0.8226 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.5365, allocations: 252.1 kB / 0.8228 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.5365, allocations: 11.12 kB / 0.8229 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.5366, allocations: 18.38 kB / 0.8229 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.5371, allocations: 235.3 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5371, allocations: 0 / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.5371, allocations: 6.562 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5371, allocations: 2.625 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.5374, allocations: 135.6 kB / 0.8232 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009666/0.5384, allocations: 0.6522 MB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.5387, allocations: 154.7 kB / 0.824 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.5389, allocations: 90.05 kB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5389, allocations: 6.219 kB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.5392, allocations: 168 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.5392, allocations: 4 kB / 0.8243 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0007592/0.54, allocations: 374.6 kB / 0.8246 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.5401, allocations: 137.7 kB / 0.8248 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.5404, allocations: 278.2 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.5404, allocations: 33.67 kB / 0.8251 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.5406, allocations: 154.3 kB / 0.8252 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.5406, allocations: 46.36 kB / 0.8253 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.5407, allocations: 46.08 kB / 0.8253 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5409, allocations: 341.5 kB / 0.8256 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.541, allocations: 82.09 kB / 0.8257 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5413, allocations: 130.4 kB / 0.8258 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.5416, allocations: 244.2 kB / 0.8261 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5416, allocations: 5.938 kB / 0.8261 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004815/0.5421, allocations: 333.1 kB / 0.8264 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.5422, allocations: 44.91 kB / 0.8264 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5422, allocations: 3.984 kB / 0.8264 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5422, allocations: 3.297 kB / 0.8264 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.5423, allocations: 21.95 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5423, allocations: 1.969 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.5423, allocations: 27.06 kB / 0.8265 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5424, allocations: 5.953 kB / 0.8265 GB, free: 11.61 MB / 0.6198 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.0001372/0.5425, allocations: 198.6 kB / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.5425, allocations: 24.08 kB / 0.8267 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.5426, allocations: 29.36 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5426, allocations: 2.469 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5426, allocations: 0 / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5426, allocations: 0.5625 kB / 0.8267 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5428, allocations: 265.7 kB / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5428, allocations: 0 / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.5429, allocations: 15.88 kB / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5429, allocations: 0 / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5429, allocations: 6.812 kB / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5429, allocations: 4.688 kB / 0.827 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5429, allocations: 3.938 kB / 0.827 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.5434, allocations: 469.2 kB / 0.8275 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.5435, allocations: 23.92 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.5435, allocations: 8.219 kB / 0.8275 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.5435, allocations: 24.89 kB / 0.8275 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.5436, allocations: 27.2 kB / 0.8275 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.5436, allocations: 5.656 kB / 0.8275 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001874/0.5438, allocations: 203.4 kB / 0.8277 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5438, allocations: 0 / 0.8277 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002344/0.544, allocations: 66.83 kB / 0.8278 GB, free: 10.81 MB / 0.6198 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.0008113/0.5449, allocations: 1.018 MB / 0.8288 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.5452, allocations: 259.7 kB / 0.829 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5452, allocations: 1.562 kB / 0.8291 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5453, allocations: 156.5 kB / 0.8292 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.5455, allocations: 39.62 kB / 0.8292 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5484, allocations: 2.754 MB / 0.8319 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.5487, allocations: 0.754 MB / 0.8327 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.003e-05/0.5488, allocations: 19.02 kB / 0.8327 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.5489, allocations: 75.05 kB / 0.8328 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.5489, allocations: 1.125 kB / 0.8328 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.571, allocations: 5.592 MB / 0.8382 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/7.351, allocations: 15.61 kB / 0.8382 GB, free: 6.152 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.504242567811161] Failed to read output from testmodel.py, exit status != 0: 7.432589892996475 7.446493508 6.909710942 Calling exit ...