Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.0009013/0.0009013, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009948/0.0009948, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01268/0.01268, allocations: 3.572 MB / 262.8 MB, free: 9.809 MB / 250.7 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 386.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.243e-05, allocations: 2.281 kB / 386.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.0029/0.002922, allocations: 2.713 MB / 389.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.003882, allocations: 0.7282 MB / 390.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.004009, allocations: 8 kB / 390.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.004142, allocations: 43.52 kB / 390.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.004277, allocations: 95.08 kB / 390.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.00463, allocations: 119.8 kB / 390.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006152/0.005245, allocations: 406.3 kB / 390.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.005476, allocations: 136.8 kB / 391.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.005735, allocations: 219.5 kB / 391.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.005865, allocations: 119.7 kB / 391.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.005904, allocations: 36 kB / 391.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.005966, allocations: 48 kB / 391.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.006016, allocations: 75.75 kB / 391.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.006109, allocations: 119.7 kB / 391.7 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.00643, allocations: 410.8 kB / 392.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.006433, allocations: 0 / 392.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006435, allocations: 0 / 392.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.00644, allocations: 0 / 392.1 MB, free: 4.605 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008141/0.007254, allocations: 0.572 MB / 392.7 MB, free: 4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.007296, allocations: 12.03 kB / 392.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.007346, allocations: 66.72 kB / 392.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.007512, allocations: 52.69 kB / 392.8 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.007754, allocations: 213.3 kB / 393 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007772, allocations: 20.88 kB / 393 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.007809, allocations: 24.38 kB / 393 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.008212, allocations: 315.2 kB / 393.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.008222, allocations: 192 / 393.3 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.008242, allocations: 16.12 kB / 393.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.008249, allocations: 7.938 kB / 393.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.008599, allocations: 241.8 kB / 393.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.009522, allocations: 0.8309 MB / 394.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.009954, allocations: 262.7 kB / 394.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.01012, allocations: 129.1 kB / 394.8 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.01015, allocations: 7.984 kB / 394.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.01039, allocations: 179.3 kB / 395 MB, free: 1.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.01039, allocations: 0 / 395 MB, free: 1.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.000561/0.01095, allocations: 376.2 kB / 395.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.01099, allocations: 67.31 kB / 395.4 MB, free: 1.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.01114, allocations: 229.7 kB / 395.7 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01116, allocations: 37.64 kB / 395.7 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.01124, allocations: 172.3 kB / 395.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01129, allocations: 79.31 kB / 395.9 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.01135, allocations: 45.7 kB / 396 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.01143, allocations: 334.8 kB / 396.3 MB, free: 172 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.01161, allocations: 137.6 kB / 396.5 MB, free: 28 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01179, allocations: 170.1 kB / 396.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.01213, allocations: 295.3 kB / 396.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.01213, allocations: 0 / 396.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004193/0.01255, allocations: 388.3 kB / 397.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.01258, allocations: 37.64 kB / 397.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01259, allocations: 0 / 397.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.0126, allocations: 4 kB / 397.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.01277, allocations: 67.89 kB / 397.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01278, allocations: 0 / 397.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01289, allocations: 35.95 kB / 397.4 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01291, allocations: 8 kB / 397.4 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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.0001109/0.01302, allocations: 153.8 kB / 397.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.01304, allocations: 23.8 kB / 397.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.01372, allocations: 295.7 kB / 397.9 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01372, allocations: 7.938 kB / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.01373, allocations: 0 / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.01373, allocations: 7.984 kB / 397.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.01396, allocations: 308.5 kB / 398.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01396, allocations: 0 / 398.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.01413, allocations: 59.89 kB / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01413, allocations: 0 / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01415, allocations: 15.98 kB / 398.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01415, allocations: 7.875 kB / 398.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01415, allocations: 0 / 398.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.01471, allocations: 455.8 kB / 398.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.01475, allocations: 31.78 kB / 398.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01477, allocations: 4 kB / 398.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.01485, allocations: 23.91 kB / 398.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.01491, allocations: 27.91 kB / 398.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01493, allocations: 4 kB / 398.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.01502, allocations: 169.3 kB / 399 MB, free: 13.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01502, allocations: 0 / 399 MB, free: 13.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.01521, allocations: 67.89 kB / 399.1 MB, free: 13.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007272/0.01594, allocations: 0.9792 MB / 400 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.01635, allocations: 345 kB / 400.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01635, allocations: 0 / 400.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.01651, allocations: 122.9 kB / 400.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01673, allocations: 43.09 kB / 400.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.01943, allocations: 2.899 MB / 403.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.01954, allocations: 154.5 kB / 403.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.957e-05/0.01964, allocations: 29.62 kB / 403.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.01975, allocations: 88.45 kB / 403.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.01976, allocations: 0 / 403.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.03874, allocations: 6.14 MB / 409.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/6.992, allocations: 3.984 kB / 409.8 MB, free: 2.449 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.925901301205158] Failed to read output from testmodel.py, exit status != 0: 7.077948956750333 7.235009233 7.225967996 Calling exit ...