Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001268/0.001268, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.001422/0.001422, allocations: 222.4 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9833/0.9833, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002231/0.002231, allocations: 71.83 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2008, allocations: 89.18 MB / 0.7283 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003731/0.2046, allocations: 1.983 MB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.206, allocations: 0.7596 MB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.2062, allocations: 3.938 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2064, allocations: 79.64 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.2066, allocations: 91.62 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.2073, allocations: 189.2 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.2077, allocations: 259.5 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2078, allocations: 50.16 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.208, allocations: 123.6 kB / 0.7318 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.2083, allocations: 159.5 kB / 0.7319 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.2083, allocations: 20 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.2085, allocations: 91.92 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2086, allocations: 63.72 kB / 0.7321 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2087, allocations: 107.3 kB / 0.7322 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.2091, allocations: 306.8 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2091, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2091, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2091, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 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.0009711/0.2101, allocations: 0.518 MB / 0.733 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2101, allocations: 8.031 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.109e-05/0.2102, allocations: 54.73 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.2103, allocations: 28.75 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.2109, allocations: 245.2 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2109, allocations: 19.94 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.2109, allocations: 12 kB / 0.7334 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.2114, allocations: 227.1 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2114, allocations: 0 / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2114, allocations: 4 kB / 0.7336 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2114, allocations: 4 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.2117, allocations: 133.3 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.2126, allocations: 0.6526 MB / 0.7343 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.213, allocations: 154.6 kB / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.2132, allocations: 84.83 kB / 0.7346 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.2132, allocations: 4 kB / 0.7346 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.2135, allocations: 175.6 kB / 0.7347 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.2135, allocations: 0 / 0.7347 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000725/0.2142, allocations: 383 kB / 0.7351 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.2143, allocations: 132.5 kB / 0.7352 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2146, allocations: 281.9 kB / 0.7355 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.2146, allocations: 33.7 kB / 0.7355 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2148, allocations: 156.3 kB / 0.7357 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.2148, allocations: 43.64 kB / 0.7357 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.2149, allocations: 37.7 kB / 0.7358 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2151, allocations: 342.8 kB / 0.7361 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.2153, allocations: 87.95 kB / 0.7362 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2155, allocations: 130.2 kB / 0.7363 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.2159, allocations: 241.2 kB / 0.7365 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2159, allocations: 8.031 kB / 0.7365 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005492/0.2165, allocations: 335 kB / 0.7369 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.2165, allocations: 37.69 kB / 0.7369 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.2165, allocations: 0 / 0.7369 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2165, allocations: 0 / 0.7369 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.2167, allocations: 27.98 kB / 0.7369 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2167, allocations: 3.938 kB / 0.7369 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2168, allocations: 31.92 kB / 0.737 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2168, allocations: 4 kB / 0.737 GB, free: 8.082 MB / 0.5606 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.0002056/0.217, allocations: 195.5 kB / 0.7371 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2171, allocations: 27.84 kB / 0.7372 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.2171, allocations: 29.77 kB / 0.7372 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2171, allocations: 0 / 0.7372 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.2171, allocations: 7.875 kB / 0.7372 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2171, allocations: 0 / 0.7372 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2174, allocations: 264.5 kB / 0.7375 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2174, allocations: 4 kB / 0.7375 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2175, allocations: 19.98 kB / 0.7375 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2175, allocations: 0 / 0.7375 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2176, allocations: 8 kB / 0.7375 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2176, allocations: 3.938 kB / 0.7375 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2176, allocations: 3.938 kB / 0.7375 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.2183, allocations: 466.5 kB / 0.7379 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.2184, allocations: 23.83 kB / 0.738 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2184, allocations: 8 kB / 0.738 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2185, allocations: 11.98 kB / 0.738 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.2186, allocations: 28.08 kB / 0.738 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2186, allocations: 8 kB / 0.738 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002144/0.2188, allocations: 209.1 kB / 0.7382 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2188, allocations: 4 kB / 0.7382 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003211/0.2192, allocations: 59.89 kB / 0.7383 GB, free: 6.648 MB / 0.5606 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.001247/0.2204, allocations: 1.041 MB / 0.7393 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.2209, allocations: 255.2 kB / 0.7395 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2209, allocations: 0 / 0.7395 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2211, allocations: 151.4 kB / 0.7397 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.2214, allocations: 34.77 kB / 0.7397 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.2251, allocations: 2.762 MB / 0.7424 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.2255, allocations: 0.7476 MB / 0.7431 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.324e-05/0.2256, allocations: 17.48 kB / 0.7432 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2257, allocations: 79.34 kB / 0.7432 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2257, allocations: 0 / 0.7432 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03966/0.2654, allocations: 5.586 MB / 0.7487 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.78, allocations: 5.688 kB / 0.7487 GB, free: 11.95 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.867233301047236] Failed to read output from testmodel.py, exit status != 0: 11.889988034032285 12.200501363999999 11.988036245 Calling exit ...