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.001304/0.001304, allocations: 122 kB / 17.84 MB, free: 5.254 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.001345/0.001345, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.536/1.536, allocations: 230.6 MB / 254.2 MB, free: 15.06 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 1.019/1.019, allocations: 150 MB / 460.2 MB, free: 5.66 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",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.001973/0.001973, allocations: 69.5 kB / 0.6368 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2059, allocations: 89.13 MB / 0.7238 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003819/0.2097, allocations: 1.969 MB / 0.7257 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2113, allocations: 0.7558 MB / 0.7265 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.2114, allocations: 7.938 kB / 0.7265 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2117, allocations: 79.62 kB / 0.7266 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2118, allocations: 91.64 kB / 0.7267 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.2125, allocations: 195.4 kB / 0.7268 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.2128, allocations: 251.5 kB / 0.7271 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.213, allocations: 49.89 kB / 0.7271 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.2132, allocations: 119.6 kB / 0.7272 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.2134, allocations: 159.5 kB / 0.7274 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2135, allocations: 23.98 kB / 0.7274 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2136, allocations: 99.92 kB / 0.7275 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.2137, allocations: 59.7 kB / 0.7276 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2138, allocations: 103.3 kB / 0.7277 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.2143, allocations: 306.9 kB / 0.728 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2143, allocations: 0 / 0.728 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2143, allocations: 0 / 0.728 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2143, allocations: 0 / 0.728 GB, free: 15.88 MB / 0.545 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.001064/0.2154, allocations: 0.5972 MB / 0.7285 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.2155, allocations: 8.031 kB / 0.7286 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.571e-05/0.2155, allocations: 4.188 kB / 0.7286 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2156, allocations: 50.73 kB / 0.7286 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.2156, allocations: 32.75 kB / 0.7286 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.2162, allocations: 310.7 kB / 0.7289 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.2162, allocations: 16 kB / 0.7289 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2163, allocations: 12 kB / 0.729 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.2167, allocations: 223.6 kB / 0.7292 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2167, allocations: 7.922 kB / 0.7292 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.2167, allocations: 4 kB / 0.7292 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2167, allocations: 8 kB / 0.7292 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.217, allocations: 132.3 kB / 0.7293 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009933/0.218, allocations: 0.6809 MB / 0.73 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.2184, allocations: 154.6 kB / 0.7301 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2186, allocations: 87.31 kB / 0.7302 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2186, allocations: 4 kB / 0.7302 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.2189, allocations: 170.7 kB / 0.7304 GB, free: 13.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2189, allocations: 0 / 0.7304 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008524/0.2198, allocations: 379 kB / 0.7307 GB, free: 12.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.2199, allocations: 136.5 kB / 0.7309 GB, free: 12.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.2203, allocations: 278.7 kB / 0.7311 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.2203, allocations: 33.69 kB / 0.7312 GB, free: 12.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.2205, allocations: 160.4 kB / 0.7313 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.2205, allocations: 43.62 kB / 0.7314 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.2206, allocations: 41.7 kB / 0.7314 GB, free: 12.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002412/0.2209, allocations: 342.8 kB / 0.7317 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.2211, allocations: 79.97 kB / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.2213, allocations: 137.8 kB / 0.7319 GB, free: 11.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.2218, allocations: 236.7 kB / 0.7322 GB, free: 11.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2218, allocations: 3.938 kB / 0.7322 GB, free: 11.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006003/0.2224, allocations: 347.1 kB / 0.7325 GB, free: 10.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.2224, allocations: 35.11 kB / 0.7325 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2224, allocations: 0 / 0.7325 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2224, allocations: 4 kB / 0.7325 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2226, allocations: 19.98 kB / 0.7326 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2226, allocations: 11.88 kB / 0.7326 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.2228, allocations: 27.83 kB / 0.7326 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2228, allocations: 8 kB / 0.7326 GB, free: 10.79 MB / 0.545 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.0002425/0.223, allocations: 194.8 kB / 0.7328 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.2231, allocations: 27.86 kB / 0.7328 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.2231, allocations: 29.83 kB / 0.7328 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2232, allocations: 0 / 0.7328 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2232, allocations: 3.938 kB / 0.7328 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.2232, allocations: 4 kB / 0.7328 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.2235, allocations: 289.4 kB / 0.7331 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2235, allocations: 0 / 0.7331 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.2237, allocations: 19.98 kB / 0.7331 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2237, allocations: 0 / 0.7331 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.2237, allocations: 12 kB / 0.7332 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2237, allocations: 0 / 0.7332 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2237, allocations: 7.875 kB / 0.7332 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.2246, allocations: 464.5 kB / 0.7336 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2247, allocations: 101 kB / 0.7337 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.2247, allocations: 8 kB / 0.7337 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2248, allocations: 11.98 kB / 0.7337 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.225, allocations: 35.89 kB / 0.7338 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.225, allocations: 4 kB / 0.7338 GB, free: 9.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002357/0.2252, allocations: 202 kB / 0.734 GB, free: 9.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2252, allocations: 0 / 0.734 GB, free: 9.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003172/0.2255, allocations: 67.81 kB / 0.734 GB, free: 9.234 MB / 0.545 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.00134/0.2269, allocations: 1.018 MB / 0.735 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.2274, allocations: 267.4 kB / 0.7353 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2274, allocations: 3.938 kB / 0.7353 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.2277, allocations: 151.5 kB / 0.7354 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.228, allocations: 40.61 kB / 0.7355 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.232, allocations: 2.754 MB / 0.7381 GB, free: 4.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.2324, allocations: 0.7523 MB / 0.7389 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.2325, allocations: 21.53 kB / 0.7389 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.2327, allocations: 75.41 kB / 0.739 GB, free: 3.98 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2327, allocations: 0 / 0.739 GB, free: 3.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.2595, allocations: 5.417 MB / 0.7443 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/9.039, allocations: 14.16 kB / 0.7443 GB, free: 14.7 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.132015818031505] Failed to read output from testmodel.py, exit status != 0: 9.17020588601008 9.197936483 8.978639383 Calling exit ...