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.001363/0.001363, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001763/0.001763, allocations: 215.2 kB / 23.78 MB, free: 4.523 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.009/1.009, allocations: 150 MB / 464 MB, free: 10.19 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="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.002624/0.002624, allocations: 68.53 kB / 0.6419 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2054, allocations: 89.18 MB / 0.729 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004358/0.2097, allocations: 1.905 MB / 0.7309 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.212, allocations: 0.7129 MB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.2122, allocations: 3.938 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.2126, allocations: 79.64 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2129, allocations: 91.64 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2139, allocations: 188.1 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.2145, allocations: 255.5 kB / 0.7322 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2147, allocations: 54.16 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.215, allocations: 119.6 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003474/0.2154, allocations: 159.5 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2154, allocations: 24 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.2156, allocations: 91.92 kB / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2158, allocations: 63.77 kB / 0.7327 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2159, allocations: 79.53 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005672/0.2165, allocations: 314.7 kB / 0.733 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2165, allocations: 0 / 0.733 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2165, allocations: 0 / 0.733 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.2165, allocations: 0 / 0.733 GB, free: 12.68 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.001209/0.2177, allocations: 0.518 MB / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2178, allocations: 8.031 kB / 0.7336 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.287e-05/0.2178, allocations: 4.188 kB / 0.7336 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.2179, allocations: 46.73 kB / 0.7336 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.2179, allocations: 32.75 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.2186, allocations: 248.9 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.2186, allocations: 16 kB / 0.7339 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.2187, allocations: 16 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.2192, allocations: 308.2 kB / 0.7342 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2192, allocations: 0 / 0.7342 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.2193, allocations: 8 kB / 0.7342 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.2193, allocations: 7.984 kB / 0.7342 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.2196, allocations: 159 kB / 0.7344 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.2207, allocations: 0.6098 MB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.2211, allocations: 192.2 kB / 0.7351 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.2213, allocations: 118.5 kB / 0.7353 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2213, allocations: 0 / 0.7353 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.2217, allocations: 206.7 kB / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.2217, allocations: 0 / 0.7355 GB, free: 10 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008244/0.2225, allocations: 440.8 kB / 0.7359 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.2226, allocations: 136.6 kB / 0.736 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.223, allocations: 281.8 kB / 0.7363 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.223, allocations: 33.7 kB / 0.7363 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2231, allocations: 156.3 kB / 0.7365 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.2232, allocations: 47.64 kB / 0.7365 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.2233, allocations: 37.72 kB / 0.7365 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2235, allocations: 338.8 kB / 0.7369 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.2237, allocations: 125.6 kB / 0.737 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.224, allocations: 212.2 kB / 0.7372 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.2244, allocations: 249.2 kB / 0.7374 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2244, allocations: 0 / 0.7374 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006211/0.225, allocations: 384.7 kB / 0.7378 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.2251, allocations: 37.7 kB / 0.7378 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2251, allocations: 0 / 0.7378 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2251, allocations: 4 kB / 0.7378 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2253, allocations: 19.98 kB / 0.7378 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.2253, allocations: 11.94 kB / 0.7379 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2254, allocations: 23.83 kB / 0.7379 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2254, allocations: 12 kB / 0.7379 GB, free: 7.324 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.0002377/0.2257, allocations: 195.5 kB / 0.7381 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.2257, allocations: 23.86 kB / 0.7381 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.2258, allocations: 29.77 kB / 0.7381 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2258, allocations: 4 kB / 0.7381 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2258, allocations: 3.938 kB / 0.7381 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2258, allocations: 3.938 kB / 0.7381 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.2261, allocations: 232.6 kB / 0.7384 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2261, allocations: 0 / 0.7384 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2262, allocations: 15.98 kB / 0.7384 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2262, allocations: 0 / 0.7384 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2263, allocations: 8 kB / 0.7384 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2263, allocations: 3.938 kB / 0.7384 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.2263, allocations: 3.938 kB / 0.7384 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.2271, allocations: 0.5253 MB / 0.7389 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.2272, allocations: 23.83 kB / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.2272, allocations: 8 kB / 0.7389 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.2273, allocations: 11.98 kB / 0.7389 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.2274, allocations: 31.95 kB / 0.739 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.2275, allocations: 8 kB / 0.739 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002446/0.2277, allocations: 205.2 kB / 0.7392 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2277, allocations: 3.938 kB / 0.7392 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000376/0.2281, allocations: 59.89 kB / 0.7392 GB, free: 5.852 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.001394/0.2295, allocations: 1.089 MB / 0.7403 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005992/0.2301, allocations: 330.6 kB / 0.7406 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2301, allocations: 0 / 0.7406 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.2304, allocations: 189 kB / 0.7408 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.2307, allocations: 41.59 kB / 0.7408 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.2351, allocations: 2.937 MB / 0.7437 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2353, allocations: 140.8 kB / 0.7438 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.851e-05/0.2354, allocations: 13.48 kB / 0.7439 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2356, allocations: 79.41 kB / 0.7439 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2356, allocations: 3.938 kB / 0.7439 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.2673, allocations: 5.773 MB / 0.7496 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.03, allocations: 4.062 kB / 0.7496 GB, free: 11.23 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: 16.32304036989808] Failed to read output from testmodel.py, exit status != 0: 12.200074441032484 12.545512403 12.32523288 Calling exit ...