Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001333/0.001333, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001472/0.001472, allocations: 216.2 kB / 22.25 MB, free: 4.852 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9477/0.9477, allocations: 145 MB / 457.4 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002243/0.002243, allocations: 67.14 kB / 0.6331 GB, free: 6.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1885, allocations: 87.89 MB / 0.7189 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003819/0.1923, allocations: 1.912 MB / 0.7208 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1941, allocations: 0.7136 MB / 0.7215 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1942, allocations: 3.938 kB / 0.7215 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.1945, allocations: 87.62 kB / 0.7216 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.1947, allocations: 87.64 kB / 0.7216 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.1954, allocations: 182.7 kB / 0.7218 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.1958, allocations: 263.4 kB / 0.7221 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.196, allocations: 53.91 kB / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1962, allocations: 115.7 kB / 0.7222 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1964, allocations: 155.5 kB / 0.7224 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1965, allocations: 20 kB / 0.7224 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1966, allocations: 87.92 kB / 0.7225 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.1967, allocations: 59.84 kB / 0.7225 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1968, allocations: 91.39 kB / 0.7226 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.1973, allocations: 318.8 kB / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1973, allocations: 0 / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1973, allocations: 0 / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.1973, allocations: 0 / 0.7229 GB, free: 10.75 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.0008819/0.1982, allocations: 0.5141 MB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1982, allocations: 8.031 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.1983, allocations: 46.73 kB / 0.7235 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1983, allocations: 36.75 kB / 0.7235 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.1989, allocations: 245.2 kB / 0.7238 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1989, allocations: 12.38 kB / 0.7238 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.1989, allocations: 12.38 kB / 0.7238 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.1994, allocations: 305.5 kB / 0.7241 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1994, allocations: 3.938 kB / 0.7241 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1995, allocations: 8 kB / 0.7241 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1995, allocations: 4 kB / 0.7241 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.1998, allocations: 158.1 kB / 0.7242 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.2008, allocations: 0.6292 MB / 0.7248 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2012, allocations: 176.2 kB / 0.725 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.2014, allocations: 122.6 kB / 0.7251 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2014, allocations: 4 kB / 0.7251 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.2017, allocations: 202.8 kB / 0.7253 GB, free: 8.078 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.2017, allocations: 4 kB / 0.7253 GB, free: 8.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007761/0.2025, allocations: 449.7 kB / 0.7258 GB, free: 7.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.2026, allocations: 132.5 kB / 0.7259 GB, free: 7.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2029, allocations: 277.9 kB / 0.7262 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.2029, allocations: 33.7 kB / 0.7262 GB, free: 7.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2031, allocations: 152.3 kB / 0.7263 GB, free: 6.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.2031, allocations: 47.64 kB / 0.7264 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.2032, allocations: 41.61 kB / 0.7264 GB, free: 6.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2034, allocations: 346.8 kB / 0.7267 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2035, allocations: 113.7 kB / 0.7269 GB, free: 6.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.2038, allocations: 225.3 kB / 0.7271 GB, free: 6.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.2042, allocations: 240.4 kB / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2042, allocations: 0 / 0.7273 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000608/0.2048, allocations: 376.8 kB / 0.7277 GB, free: 5.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/0.2048, allocations: 37.69 kB / 0.7277 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2048, allocations: 4 kB / 0.7277 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.2048, allocations: 3.984 kB / 0.7277 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.205, allocations: 27.92 kB / 0.7277 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.205, allocations: 4 kB / 0.7277 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.2051, allocations: 23.88 kB / 0.7278 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2051, allocations: 4 kB / 0.7278 GB, free: 5.418 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.0002163/0.2053, allocations: 210.1 kB / 0.728 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.2054, allocations: 31.75 kB / 0.728 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.639e-05/0.2054, allocations: 25.77 kB / 0.728 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2054, allocations: 4 kB / 0.728 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2055, allocations: 0 / 0.728 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2055, allocations: 0 / 0.728 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.2057, allocations: 236.5 kB / 0.7282 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2057, allocations: 0 / 0.7282 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2058, allocations: 19.98 kB / 0.7283 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2058, allocations: 0 / 0.7283 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2059, allocations: 7.984 kB / 0.7283 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2059, allocations: 0 / 0.7283 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2059, allocations: 4 kB / 0.7283 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.2067, allocations: 0.5213 MB / 0.7288 GB, free: 4.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2067, allocations: 24.02 kB / 0.7288 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.2068, allocations: 8 kB / 0.7288 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.2069, allocations: 15.98 kB / 0.7288 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.207, allocations: 27.95 kB / 0.7289 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.207, allocations: 11.98 kB / 0.7289 GB, free: 4.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002126/0.2072, allocations: 197.2 kB / 0.7291 GB, free: 3.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2072, allocations: 0 / 0.7291 GB, free: 3.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003016/0.2075, allocations: 63.83 kB / 0.7291 GB, free: 3.93 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.00124/0.2088, allocations: 1.098 MB / 0.7302 GB, free: 2.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.2093, allocations: 324.5 kB / 0.7305 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2093, allocations: 0 / 0.7305 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.2096, allocations: 189 kB / 0.7307 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.2099, allocations: 36.42 kB / 0.7307 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.2136, allocations: 2.935 MB / 0.7336 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.2137, allocations: 144.8 kB / 0.7337 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.173e-05/0.2138, allocations: 13.48 kB / 0.7337 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2139, allocations: 75.42 kB / 0.7338 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.2139, allocations: 0 / 0.7338 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2494, allocations: 6.11 MB / 0.7398 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.39, allocations: 7.922 kB / 0.7398 GB, free: 8.945 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.53185666212812] Failed to read output from testmodel.py, exit status != 0: 11.503850384615362 11.874839905 11.674107653 Calling exit ...