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.001225/0.001225, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001414/0.001414, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.582 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.7769/0.7769, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009247/0.0009247, allocations: 71.42 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4902, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002284/0.4925, allocations: 1.923 MB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.4934, allocations: 0.6971 MB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.4935, allocations: 4.938 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.4937, allocations: 82.05 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.4938, allocations: 91.36 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.4943, allocations: 194.9 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.4945, allocations: 258.3 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.4946, allocations: 61 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.4948, allocations: 115.5 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.495, allocations: 153.6 kB / 0.8213 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.495, allocations: 23.69 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.4951, allocations: 89.47 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.4952, allocations: 52.5 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.4953, allocations: 87.28 kB / 0.8215 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.4956, allocations: 312.3 kB / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.4956, allocations: 1.031 kB / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4956, allocations: 0 / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4956, allocations: 0 / 0.8218 GB, free: 14.64 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.0006247/0.4962, allocations: 0.5144 MB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4963, allocations: 9.344 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.4963, allocations: 51.19 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.4963, allocations: 35.25 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.4967, allocations: 238.9 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4967, allocations: 12.48 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.4967, allocations: 17.94 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.497, allocations: 314.7 kB / 0.8229 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4971, allocations: 0 / 0.8229 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4971, allocations: 6.5 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4971, allocations: 4.297 kB / 0.823 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.4973, allocations: 168.7 kB / 0.8231 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.4979, allocations: 0.6191 MB / 0.8237 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.4981, allocations: 181.5 kB / 0.8239 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.4984, allocations: 117.2 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.4984, allocations: 1.938 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.4986, allocations: 214.4 kB / 0.8242 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.4986, allocations: 0 / 0.8242 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004991/0.4991, allocations: 435.9 kB / 0.8246 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.4992, allocations: 142.3 kB / 0.8248 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.4994, allocations: 278.4 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4994, allocations: 33.06 kB / 0.8251 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.4995, allocations: 154.8 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.4995, allocations: 42.95 kB / 0.8253 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.4996, allocations: 44.73 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.4997, allocations: 338.8 kB / 0.8256 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.4998, allocations: 119.2 kB / 0.8257 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.5, allocations: 215.3 kB / 0.8259 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.5002, allocations: 244.3 kB / 0.8262 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5002, allocations: 0 / 0.8262 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003765/0.5006, allocations: 378.2 kB / 0.8265 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.5006, allocations: 39.56 kB / 0.8266 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.5006, allocations: 1.703 kB / 0.8266 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5006, allocations: 3.094 kB / 0.8266 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.5007, allocations: 25.16 kB / 0.8266 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5007, allocations: 3.734 kB / 0.8266 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.5008, allocations: 24.19 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.5008, allocations: 10.72 kB / 0.8266 GB, free: 11.12 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.0001243/0.5009, allocations: 201.1 kB / 0.8268 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.5009, allocations: 26.25 kB / 0.8269 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.501, allocations: 30.38 kB / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.501, allocations: 1.562 kB / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.501, allocations: 0 / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.501, allocations: 0.7969 kB / 0.8269 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.5012, allocations: 239 kB / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5012, allocations: 3.984 kB / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.5012, allocations: 16.31 kB / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5012, allocations: 0 / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.5012, allocations: 17.56 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5012, allocations: 0.6562 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5012, allocations: 0 / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.5018, allocations: 0.5238 MB / 0.8277 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/0.5018, allocations: 27.12 kB / 0.8277 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.5018, allocations: 8.406 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.5019, allocations: 13.72 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.502, allocations: 27.58 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.502, allocations: 14.09 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5021, allocations: 201.9 kB / 0.8279 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5021, allocations: 0 / 0.8279 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001885/0.5023, allocations: 60.75 kB / 0.828 GB, free: 10.25 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.0007474/0.503, allocations: 1.084 MB / 0.8291 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.5034, allocations: 327.6 kB / 0.8294 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5034, allocations: 1 kB / 0.8294 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.5036, allocations: 189.3 kB / 0.8295 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.5038, allocations: 38.7 kB / 0.8296 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.5066, allocations: 2.936 MB / 0.8325 GB, free: 7.211 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.5067, allocations: 147.2 kB / 0.8326 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.617e-05/0.5068, allocations: 15.45 kB / 0.8326 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.5069, allocations: 72.95 kB / 0.8327 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5069, allocations: 4 kB / 0.8327 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.5267, allocations: 6.106 MB / 0.8386 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/7.291, allocations: 7.984 kB / 0.8387 GB, free: 5.32 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.246492443140596] Failed to read output from testmodel.py, exit status != 0: 7.36916787084192 7.378759841 6.881281755 Calling exit ...