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.0009009/0.0009009, allocations: 105.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.0008888/0.0008888, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9715/0.9715, allocations: 230.6 MB / 256 MB, free: 9.59 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.7782/0.7782, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001018/0.001018, allocations: 70.47 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5405, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002602/0.5431, allocations: 1.912 MB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.5442, allocations: 0.6994 MB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.5444, allocations: 5.375 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.5446, allocations: 73.62 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.5447, allocations: 99.31 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.5453, allocations: 187.6 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.5456, allocations: 267.8 kB / 0.8209 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.5457, allocations: 47.73 kB / 0.821 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.5459, allocations: 122.7 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.546, allocations: 151.8 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.5461, allocations: 19.28 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.5462, allocations: 92.34 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.5463, allocations: 54.19 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.5464, allocations: 81.52 kB / 0.8215 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.5467, allocations: 315.7 kB / 0.8218 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5467, allocations: 1.062 kB / 0.8218 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5467, allocations: 0 / 0.8218 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5467, allocations: 4 kB / 0.8218 GB, free: 14.63 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.0006599/0.5474, allocations: 0.5129 MB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5474, allocations: 9.891 kB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.5475, allocations: 55.12 kB / 0.8224 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.5475, allocations: 35.55 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.5479, allocations: 244.7 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.5479, allocations: 14.16 kB / 0.8226 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.5479, allocations: 14.66 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.5483, allocations: 310.4 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5483, allocations: 1.062 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5483, allocations: 10.11 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5483, allocations: 3.844 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.5485, allocations: 164.2 kB / 0.8231 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.5498, allocations: 0.6207 MB / 0.8237 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5501, allocations: 180.1 kB / 0.8239 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.5502, allocations: 119.1 kB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5503, allocations: 1.219 kB / 0.824 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.5505, allocations: 210 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.5505, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005656/0.5511, allocations: 432.1 kB / 0.8246 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.5512, allocations: 137.4 kB / 0.8248 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.5514, allocations: 283.8 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5514, allocations: 32.39 kB / 0.8251 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.5515, allocations: 159.1 kB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.5516, allocations: 41.33 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.5516, allocations: 50.77 kB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.5517, allocations: 341.5 kB / 0.8256 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.5518, allocations: 115.6 kB / 0.8257 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.552, allocations: 215.3 kB / 0.8259 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.5522, allocations: 244.8 kB / 0.8262 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5522, allocations: 0 / 0.8262 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003726/0.5526, allocations: 377.2 kB / 0.8265 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.5526, allocations: 40.53 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5526, allocations: 1.406 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5527, allocations: 2.562 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.5527, allocations: 25.11 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5527, allocations: 6.656 kB / 0.8266 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.5528, allocations: 26.72 kB / 0.8266 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5528, allocations: 8.969 kB / 0.8266 GB, free: 11.1 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.0001392/0.553, allocations: 195.8 kB / 0.8268 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.553, allocations: 26.23 kB / 0.8268 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.553, allocations: 29.88 kB / 0.8269 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.553, allocations: 1.469 kB / 0.8269 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5531, allocations: 1.156 kB / 0.8269 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5531, allocations: 0.7969 kB / 0.8269 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.5533, allocations: 242.6 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5533, allocations: 4.609 kB / 0.8271 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.5533, allocations: 19.05 kB / 0.8271 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5533, allocations: 1.531 kB / 0.8271 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5534, allocations: 7.656 kB / 0.8271 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5534, allocations: 2.312 kB / 0.8271 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5534, allocations: 0 / 0.8271 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.5539, allocations: 0.5213 MB / 0.8277 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.5539, allocations: 31 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.554, allocations: 5.219 kB / 0.8277 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.554, allocations: 19.75 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.5541, allocations: 24.33 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.5541, allocations: 6.094 kB / 0.8277 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001589/0.5543, allocations: 206.5 kB / 0.8279 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5543, allocations: 0 / 0.8279 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002301/0.5545, allocations: 60.11 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.0008261/0.5553, allocations: 1.093 MB / 0.8291 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.5558, allocations: 323.8 kB / 0.8294 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5558, allocations: 0 / 0.8294 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.556, allocations: 190.5 kB / 0.8295 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5564, allocations: 36.47 kB / 0.8296 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.5604, allocations: 2.936 MB / 0.8325 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5606, allocations: 144.7 kB / 0.8326 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.5607, allocations: 23.23 kB / 0.8326 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.5608, allocations: 76.62 kB / 0.8327 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.5608, allocations: 0 / 0.8327 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.586, allocations: 6.103 MB / 0.8386 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/7.354, allocations: 3.438 kB / 0.8386 GB, free: 5.324 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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.283487658016384] Failed to read output from testmodel.py, exit status != 0: 7.434697008691728 7.446940799 6.898160267 Calling exit ...