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.001165/0.001165, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.00129/0.00129, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9212/0.9212, allocations: 145 MB / 453.8 MB, free: 0.7031 MB / 350.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.002003/0.002003, allocations: 65.66 kB / 0.628 GB, free: 10.62 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.204, allocations: 87.83 MB / 0.7138 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004611/0.2086, allocations: 1.973 MB / 0.7157 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2104, allocations: 0.7565 MB / 0.7165 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.2106, allocations: 4 kB / 0.7165 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.2109, allocations: 87.77 kB / 0.7165 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.211, allocations: 87.58 kB / 0.7166 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.2117, allocations: 187.2 kB / 0.7168 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.2121, allocations: 259.4 kB / 0.717 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.2122, allocations: 53.64 kB / 0.7171 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.2124, allocations: 119.6 kB / 0.7172 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2126, allocations: 159.5 kB / 0.7174 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.2127, allocations: 20 kB / 0.7174 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2128, allocations: 95.92 kB / 0.7175 GB, free: 15 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.2129, allocations: 63.78 kB / 0.7175 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2131, allocations: 103.4 kB / 0.7176 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.2135, allocations: 322.5 kB / 0.7179 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2135, allocations: 0 / 0.7179 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2135, allocations: 0 / 0.7179 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2135, allocations: 4 kB / 0.7179 GB, free: 14.52 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.001016/0.2145, allocations: 0.5894 MB / 0.7185 GB, free: 13.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2146, allocations: 8.031 kB / 0.7185 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.775e-05/0.2146, allocations: 46.75 kB / 0.7186 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.2147, allocations: 32.69 kB / 0.7186 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.2153, allocations: 303 kB / 0.7189 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2153, allocations: 20.38 kB / 0.7189 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.2154, allocations: 16.36 kB / 0.7189 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.2158, allocations: 219.9 kB / 0.7191 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2158, allocations: 0 / 0.7191 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.2158, allocations: 7.984 kB / 0.7191 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2159, allocations: 4 kB / 0.7192 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2161, allocations: 136.3 kB / 0.7193 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.2171, allocations: 0.677 MB / 0.7199 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.2175, allocations: 158.5 kB / 0.7201 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2176, allocations: 88.95 kB / 0.7202 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2177, allocations: 0 / 0.7202 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.218, allocations: 173 kB / 0.7203 GB, free: 11.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.218, allocations: 4 kB / 0.7203 GB, free: 11.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000764/0.2187, allocations: 379 kB / 0.7207 GB, free: 11.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.2188, allocations: 132.5 kB / 0.7208 GB, free: 11.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.2191, allocations: 282.7 kB / 0.7211 GB, free: 11.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.2192, allocations: 33.64 kB / 0.7211 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.2193, allocations: 156.3 kB / 0.7213 GB, free: 10.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.2194, allocations: 47.64 kB / 0.7213 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.2194, allocations: 49.61 kB / 0.7214 GB, free: 10.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2196, allocations: 334.8 kB / 0.7217 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2198, allocations: 87.95 kB / 0.7218 GB, free: 10.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.22, allocations: 125.1 kB / 0.7219 GB, free: 10.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2204, allocations: 248.6 kB / 0.7221 GB, free: 9.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2204, allocations: 0 / 0.7221 GB, free: 9.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005425/0.2209, allocations: 329.3 kB / 0.7225 GB, free: 9.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.2209, allocations: 41.78 kB / 0.7225 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2209, allocations: 0 / 0.7225 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.221, allocations: 4 kB / 0.7225 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2211, allocations: 27.92 kB / 0.7225 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2211, allocations: 4 kB / 0.7225 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2212, allocations: 19.88 kB / 0.7225 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2213, allocations: 12 kB / 0.7226 GB, free: 9.449 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.0002005/0.2215, allocations: 191.5 kB / 0.7227 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.2215, allocations: 39.69 kB / 0.7228 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.2216, allocations: 25.83 kB / 0.7228 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2216, allocations: 0 / 0.7228 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2216, allocations: 8 kB / 0.7228 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2216, allocations: 0 / 0.7228 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.2219, allocations: 293.4 kB / 0.7231 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2219, allocations: 3.938 kB / 0.7231 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.222, allocations: 16 kB / 0.7231 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.222, allocations: 0 / 0.7231 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.222, allocations: 11.98 kB / 0.7231 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.222, allocations: 0 / 0.7231 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.222, allocations: 0 / 0.7231 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.2228, allocations: 477.2 kB / 0.7236 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.2229, allocations: 100.9 kB / 0.7237 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.2229, allocations: 12 kB / 0.7237 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.223, allocations: 16.05 kB / 0.7237 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.2231, allocations: 19.97 kB / 0.7237 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2231, allocations: 7.984 kB / 0.7237 GB, free: 8.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001993/0.2233, allocations: 202 kB / 0.7239 GB, free: 7.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2233, allocations: 0 / 0.7239 GB, free: 7.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002896/0.2236, allocations: 59.88 kB / 0.724 GB, free: 7.891 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.0012/0.2248, allocations: 1.032 MB / 0.725 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.2253, allocations: 251.2 kB / 0.7252 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2253, allocations: 4.25 kB / 0.7252 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.2255, allocations: 159.3 kB / 0.7254 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.2258, allocations: 28.53 kB / 0.7254 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.2295, allocations: 2.759 MB / 0.7281 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.2299, allocations: 0.7514 MB / 0.7288 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.19e-05/0.23, allocations: 25.53 kB / 0.7289 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2301, allocations: 67.42 kB / 0.7289 GB, free: 2.633 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2301, allocations: 0 / 0.7289 GB, free: 2.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.2616, allocations: 5.405 MB / 0.7342 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.39, allocations: 8.688 kB / 0.7342 GB, free: 13.34 MB / 0.5606 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 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: 12.2803453719971] Failed to read output from testmodel.py, exit status != 0: 8.462568066999665 8.48378901 8.266311692 Calling exit ...