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.00133/0.00133, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001494/0.001494, allocations: 219.8 kB / 23.03 MB, free: 4.949 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.9845/0.9845, allocations: 145 MB / 458.2 MB, free: 15.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",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.001843/0.001843, allocations: 66.3 kB / 0.6338 GB, free: 6.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1884, allocations: 87.89 MB / 0.7197 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003571/0.192, allocations: 1.912 MB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1933, allocations: 0.7058 MB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1935, allocations: 3.938 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1937, allocations: 87.62 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.1939, allocations: 83.64 kB / 0.7224 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1945, allocations: 191.6 kB / 0.7226 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.1948, allocations: 255.5 kB / 0.7228 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.195, allocations: 57.86 kB / 0.7229 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1951, allocations: 119.6 kB / 0.723 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.1954, allocations: 159.5 kB / 0.7231 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.1954, allocations: 20 kB / 0.7232 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1955, allocations: 95.92 kB / 0.7233 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.1956, allocations: 67.72 kB / 0.7233 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.1957, allocations: 79.53 kB / 0.7234 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.1962, allocations: 318.8 kB / 0.7237 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1962, allocations: 7.875 kB / 0.7237 GB, free: 10.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1962, allocations: 0 / 0.7237 GB, free: 10.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1962, allocations: 0 / 0.7237 GB, free: 10.69 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.0009227/0.1971, allocations: 0.5142 MB / 0.7242 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1971, allocations: 11.97 kB / 0.7242 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.1971, allocations: 4.188 kB / 0.7242 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.1972, allocations: 46.73 kB / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.1973, allocations: 32.75 kB / 0.7243 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.1978, allocations: 245.1 kB / 0.7245 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1978, allocations: 12.38 kB / 0.7245 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.1979, allocations: 20.12 kB / 0.7246 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.1984, allocations: 305.5 kB / 0.7249 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1984, allocations: 4 kB / 0.7249 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.1984, allocations: 4 kB / 0.7249 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.1984, allocations: 4 kB / 0.7249 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.1987, allocations: 158.1 kB / 0.725 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.1996, allocations: 0.6176 MB / 0.7256 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2, allocations: 184.2 kB / 0.7258 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.2002, allocations: 125.7 kB / 0.7259 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2002, allocations: 4 kB / 0.7259 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.2005, allocations: 198.7 kB / 0.7261 GB, free: 8.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2005, allocations: 0 / 0.7261 GB, free: 8.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007797/0.2013, allocations: 457 kB / 0.7265 GB, free: 7.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.2014, allocations: 140.5 kB / 0.7267 GB, free: 7.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.2017, allocations: 273.9 kB / 0.7269 GB, free: 7.102 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2017, allocations: 33.7 kB / 0.727 GB, free: 7.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2018, allocations: 152.3 kB / 0.7271 GB, free: 6.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.2019, allocations: 47.64 kB / 0.7272 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.202, allocations: 45.61 kB / 0.7272 GB, free: 6.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2021, allocations: 338.8 kB / 0.7275 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2023, allocations: 117.7 kB / 0.7276 GB, free: 6.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.2026, allocations: 218.2 kB / 0.7279 GB, free: 6.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2029, allocations: 241 kB / 0.7281 GB, free: 5.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.2029, allocations: 4 kB / 0.7281 GB, free: 5.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005485/0.2035, allocations: 380.8 kB / 0.7284 GB, free: 5.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.2035, allocations: 41.69 kB / 0.7285 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.2035, allocations: 4 kB / 0.7285 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2036, allocations: 0 / 0.7285 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2037, allocations: 23.98 kB / 0.7285 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2037, allocations: 0 / 0.7285 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2038, allocations: 23.88 kB / 0.7285 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2038, allocations: 11.94 kB / 0.7285 GB, free: 5.34 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.0002083/0.2041, allocations: 199.3 kB / 0.7287 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2041, allocations: 31.75 kB / 0.7288 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.2042, allocations: 33.77 kB / 0.7288 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2042, allocations: 0 / 0.7288 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2042, allocations: 0 / 0.7288 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2042, allocations: 0 / 0.7288 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.2045, allocations: 236.5 kB / 0.729 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2045, allocations: 0 / 0.729 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2046, allocations: 15.98 kB / 0.729 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2046, allocations: 4 kB / 0.729 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2046, allocations: 3.984 kB / 0.729 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2046, allocations: 8 kB / 0.7291 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2046, allocations: 3.938 kB / 0.7291 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.2054, allocations: 0.5213 MB / 0.7296 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2054, allocations: 23.83 kB / 0.7296 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.2055, allocations: 8 kB / 0.7296 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2056, allocations: 11.98 kB / 0.7296 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.2057, allocations: 27.95 kB / 0.7296 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.2057, allocations: 8.047 kB / 0.7296 GB, free: 4.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002053/0.2059, allocations: 209.1 kB / 0.7298 GB, free: 3.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2059, allocations: 0 / 0.7298 GB, free: 3.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002875/0.2062, allocations: 55.94 kB / 0.7299 GB, free: 3.859 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.001252/0.2074, allocations: 1.092 MB / 0.731 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.208, allocations: 330.6 kB / 0.7313 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.208, allocations: 0 / 0.7313 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.2082, allocations: 185 kB / 0.7315 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.2085, allocations: 28.48 kB / 0.7315 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.2122, allocations: 2.943 MB / 0.7344 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.2123, allocations: 140.8 kB / 0.7345 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.635e-05/0.2124, allocations: 21.47 kB / 0.7345 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2126, allocations: 71.41 kB / 0.7346 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/0.2126, allocations: 0 / 0.7346 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.2425, allocations: 5.778 MB / 0.7402 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.68, allocations: 8.5 kB / 0.7402 GB, free: 9.234 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.930636834935285] Failed to read output from testmodel.py, exit status != 0: 11.847022642032243 12.225155482 12.02565991 Calling exit ...