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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 114.9 kB / 17.81 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 187.8 kB / 20.74 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8253/0.8253, allocations: 128.4 MB / 432.4 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.91 kB / 0.5987 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4194, allocations: 83.28 MB / 0.68 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00268/0.4221, allocations: 1.95 MB / 0.6819 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.4231, allocations: 0.7126 MB / 0.6826 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.4232, allocations: 6.375 kB / 0.6826 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.4234, allocations: 86.44 kB / 0.6827 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.4235, allocations: 84.7 kB / 0.6828 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.4239, allocations: 190.5 kB / 0.683 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.4242, allocations: 262.8 kB / 0.6832 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4243, allocations: 49.44 kB / 0.6833 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.4244, allocations: 122.7 kB / 0.6834 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.4246, allocations: 159.8 kB / 0.6835 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.4247, allocations: 20.66 kB / 0.6836 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4248, allocations: 93.78 kB / 0.6837 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.4249, allocations: 62.09 kB / 0.6837 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.4249, allocations: 103.8 kB / 0.6838 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.4253, allocations: 318.4 kB / 0.6841 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4253, allocations: 0 / 0.6841 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4253, allocations: 0 / 0.6841 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4253, allocations: 5 kB / 0.6841 GB, free: 3.945 MB / 0.4981 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.0007253/0.426, allocations: 0.5804 MB / 0.6847 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.426, allocations: 8.344 kB / 0.6847 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.4261, allocations: 35.39 kB / 0.6847 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.4265, allocations: 306 kB / 0.685 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4265, allocations: 18.95 kB / 0.685 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4266, allocations: 13.62 kB / 0.6851 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.4269, allocations: 229 kB / 0.6853 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4269, allocations: 1.219 kB / 0.6853 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4269, allocations: 5.281 kB / 0.6853 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4269, allocations: 4.469 kB / 0.6853 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.4272, allocations: 130.9 kB / 0.6854 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.4278, allocations: 0.6774 MB / 0.6861 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.4282, allocations: 150.1 kB / 0.6862 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4283, allocations: 92.08 kB / 0.6863 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4283, allocations: 4 kB / 0.6863 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.4286, allocations: 170.7 kB / 0.6865 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.4286, allocations: 3.984 kB / 0.6865 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006364/0.4292, allocations: 382.1 kB / 0.6868 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.4293, allocations: 137 kB / 0.687 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4295, allocations: 279.4 kB / 0.6872 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4295, allocations: 33.39 kB / 0.6873 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.4296, allocations: 157.6 kB / 0.6874 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4296, allocations: 42.55 kB / 0.6875 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.4297, allocations: 41.42 kB / 0.6875 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.4297, allocations: 342 kB / 0.6878 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.4299, allocations: 83.45 kB / 0.6879 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.4301, allocations: 131.3 kB / 0.688 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4303, allocations: 238.7 kB / 0.6882 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4303, allocations: 5.062 kB / 0.6883 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004584/0.4308, allocations: 334.7 kB / 0.6886 GB, free: 416 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4308, allocations: 42.75 kB / 0.6886 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4308, allocations: 2.125 kB / 0.6886 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4309, allocations: 1.562 kB / 0.6886 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.431, allocations: 20.7 kB / 0.6886 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.431, allocations: 2.906 kB / 0.6886 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.4311, allocations: 34.06 kB / 0.6887 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4311, allocations: 5.812 kB / 0.6887 GB, free: 348 kB / 0.4981 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.0001266/0.4312, allocations: 193.9 kB / 0.6889 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.4313, allocations: 29.06 kB / 0.6889 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.4313, allocations: 31.23 kB / 0.6889 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4313, allocations: 1.469 kB / 0.6889 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4313, allocations: 96 / 0.6889 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4313, allocations: 9.906 kB / 0.6889 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.4316, allocations: 288.7 kB / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4316, allocations: 0 / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4317, allocations: 16.42 kB / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4317, allocations: 0.9688 kB / 0.6892 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.4317, allocations: 7.344 kB / 0.6892 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4317, allocations: 7.875 kB / 0.6892 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4317, allocations: 1.094 kB / 0.6892 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.4325, allocations: 476.8 kB / 0.6897 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.4326, allocations: 95.81 kB / 0.6898 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4326, allocations: 7.625 kB / 0.6898 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4327, allocations: 11.89 kB / 0.6898 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.4328, allocations: 30.06 kB / 0.6898 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.4328, allocations: 8.578 kB / 0.6898 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001943/0.433, allocations: 201.6 kB / 0.69 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.433, allocations: 4 kB / 0.69 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002839/0.4333, allocations: 63.48 kB / 0.6901 GB, free: 15.29 MB / 0.5137 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.0002145/0.4335, allocations: 131.6 kB / 0.6902 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.434, allocations: 262 kB / 0.6905 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.434, allocations: 0 / 0.6905 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.4343, allocations: 159.4 kB / 0.6906 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4346, allocations: 35.91 kB / 0.6907 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4357, allocations: 0.5059 MB / 0.6912 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.436, allocations: 0.7524 MB / 0.6919 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.4361, allocations: 22.14 kB / 0.6919 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.4361, allocations: 0 / 0.6919 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.005899/0.442, allocations: 3.012 MB / 0.6948 GB, free: 12.27 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.649240229045972] Failed to read output from testmodel.py, exit status != 0: 0.45058615296147764 0.46282928199999995 0.034975149000000004 Calling exit ...