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.001296/0.001296, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001424/0.001424, allocations: 222.9 kB / 22.26 MB, free: 5.211 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.988 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.9781/0.9781, allocations: 145 MB / 457.4 MB, free: 15.49 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.002876/0.002876, allocations: 71.03 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.214, allocations: 87.89 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003229/0.2173, allocations: 2.001 MB / 0.7209 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2186, allocations: 0.7525 MB / 0.7217 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2187, allocations: 7.938 kB / 0.7217 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.2189, allocations: 83.62 kB / 0.7218 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.219, allocations: 91.62 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.2196, allocations: 190.6 kB / 0.722 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.2199, allocations: 255.5 kB / 0.7223 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2201, allocations: 49.92 kB / 0.7223 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.2202, allocations: 127.6 kB / 0.7224 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.2204, allocations: 159.5 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.2205, allocations: 20 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2206, allocations: 91.94 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.2207, allocations: 67.7 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2208, allocations: 99.36 kB / 0.7229 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.2212, allocations: 322.7 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2212, allocations: 0 / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2212, allocations: 4 kB / 0.7232 GB, free: 11.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.2212, allocations: 4 kB / 0.7232 GB, free: 11.1 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.0008384/0.2221, allocations: 0.5064 MB / 0.7237 GB, free: 10.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2221, allocations: 12.03 kB / 0.7237 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.2222, allocations: 46.73 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.2222, allocations: 32.75 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.2228, allocations: 241.2 kB / 0.724 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.2228, allocations: 16.38 kB / 0.724 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.2228, allocations: 12.38 kB / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.2232, allocations: 228.4 kB / 0.7242 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2232, allocations: 0 / 0.7242 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2232, allocations: 11.98 kB / 0.7242 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2232, allocations: 0 / 0.7242 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.2235, allocations: 136.4 kB / 0.7244 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.2244, allocations: 0.6604 MB / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.2247, allocations: 150.5 kB / 0.7252 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2249, allocations: 92.95 kB / 0.7252 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2249, allocations: 4 kB / 0.7252 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.2252, allocations: 169 kB / 0.7254 GB, free: 8.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.2252, allocations: 0 / 0.7254 GB, free: 8.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006803/0.2259, allocations: 379 kB / 0.7258 GB, free: 8.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.2259, allocations: 132.5 kB / 0.7259 GB, free: 8.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2262, allocations: 289.8 kB / 0.7262 GB, free: 7.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2263, allocations: 29.7 kB / 0.7262 GB, free: 7.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.2264, allocations: 160.3 kB / 0.7264 GB, free: 7.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.2265, allocations: 43.64 kB / 0.7264 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/0.2265, allocations: 37.7 kB / 0.7264 GB, free: 7.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2267, allocations: 342.8 kB / 0.7268 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2269, allocations: 87.95 kB / 0.7268 GB, free: 7.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2271, allocations: 131 kB / 0.727 GB, free: 6.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2274, allocations: 241.2 kB / 0.7272 GB, free: 6.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2274, allocations: 0 / 0.7272 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005028/0.2279, allocations: 339 kB / 0.7275 GB, free: 6.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.2279, allocations: 37.69 kB / 0.7276 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2279, allocations: 0 / 0.7276 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.228, allocations: 4 kB / 0.7276 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2281, allocations: 23.98 kB / 0.7276 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2281, allocations: 4 kB / 0.7276 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2282, allocations: 23.97 kB / 0.7276 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2282, allocations: 8 kB / 0.7276 GB, free: 6.238 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.0001843/0.2284, allocations: 197.6 kB / 0.7278 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2285, allocations: 35.75 kB / 0.7278 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.2285, allocations: 21.78 kB / 0.7279 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2285, allocations: 3.984 kB / 0.7279 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2285, allocations: 0 / 0.7279 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2285, allocations: 8 kB / 0.7279 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2288, allocations: 260.5 kB / 0.7281 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2288, allocations: 0 / 0.7281 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2289, allocations: 19.98 kB / 0.7281 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2289, allocations: 0 / 0.7281 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.2289, allocations: 7.984 kB / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2289, allocations: 0 / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2289, allocations: 0 / 0.7281 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.2298, allocations: 473.3 kB / 0.7286 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.2298, allocations: 31.81 kB / 0.7286 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.2298, allocations: 8 kB / 0.7286 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.23, allocations: 15.98 kB / 0.7287 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.23, allocations: 23.95 kB / 0.7287 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.23, allocations: 4.188 kB / 0.7287 GB, free: 5.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000219/0.2303, allocations: 201.2 kB / 0.7289 GB, free: 4.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2303, allocations: 8 kB / 0.7289 GB, free: 4.863 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002883/0.2306, allocations: 63.86 kB / 0.7289 GB, free: 4.801 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.001094/0.2316, allocations: 1.02 MB / 0.7299 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.2321, allocations: 263.2 kB / 0.7302 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2321, allocations: 0 / 0.7302 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.2323, allocations: 151.4 kB / 0.7303 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2326, allocations: 28.48 kB / 0.7304 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.2363, allocations: 2.766 MB / 0.7331 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.2367, allocations: 0.7476 MB / 0.7338 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.2368, allocations: 25.47 kB / 0.7338 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.2369, allocations: 71.41 kB / 0.7339 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2369, allocations: 0 / 0.7339 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.2719, allocations: 5.599 MB / 0.7394 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.3, allocations: 10.56 kB / 0.7394 GB, free: 10.1 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.627915648001363] Failed to read output from testmodel.py, exit status != 0: 11.412685028000851 11.761196045 11.536622606 Calling exit ...