Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 105.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.05293/0.05293, allocations: 4.717 MB / 307.4 MB, free: 5.195 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 427.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.1007, allocations: 53.27 MB / 480.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00301/0.1037, allocations: 1.686 MB / 482.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.1045, allocations: 486.8 kB / 482.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.1046, allocations: 0 / 482.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.1047, allocations: 11.86 kB / 483 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.395e-05/0.1047, allocations: 27.72 kB / 483 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.105, allocations: 39.95 kB / 483 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1051, allocations: 119.6 kB / 483.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1053, allocations: 41.67 kB / 483.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1054, allocations: 51.78 kB / 483.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.1055, allocations: 55.77 kB / 483.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1055, allocations: 8 kB / 483.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.1056, allocations: 8 kB / 483.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.1056, allocations: 31.89 kB / 483.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.1057, allocations: 47.67 kB / 483.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1058, allocations: 103.5 kB / 483.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1058, allocations: 0 / 483.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1058, allocations: 4 kB / 483.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.1058, allocations: 0 / 483.5 MB, free: 12.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008404/0.1067, allocations: 464.5 kB / 483.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1067, allocations: 12.03 kB / 484 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.1068, allocations: 50.88 kB / 484 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1069, allocations: 28.77 kB / 484 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1071, allocations: 202.3 kB / 484.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1071, allocations: 8.125 kB / 484.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1071, allocations: 12 kB / 484.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1075, allocations: 173.9 kB / 484.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1075, allocations: 0 / 484.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1075, allocations: 8 kB / 484.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1075, allocations: 3.938 kB / 484.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1079, allocations: 135.8 kB / 484.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.1088, allocations: 0.7276 MB / 485.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1092, allocations: 169 kB / 485.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1094, allocations: 88.3 kB / 485.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1095, allocations: 8.062 kB / 485.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.1098, allocations: 163.5 kB / 485.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.1098, allocations: 0 / 485.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007188/0.1105, allocations: 233.9 kB / 485.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/0.1106, allocations: 162.2 kB / 486.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.1108, allocations: 168 kB / 486.3 MB, free: 9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1108, allocations: 25.7 kB / 486.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.1109, allocations: 120 kB / 486.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.1109, allocations: 27.8 kB / 486.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.111, allocations: 25.78 kB / 486.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1111, allocations: 330.8 kB / 486.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1113, allocations: 55.94 kB / 486.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1115, allocations: 96.22 kB / 486.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.1119, allocations: 181.8 kB / 487.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1119, allocations: 4 kB / 487.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005201/0.1125, allocations: 211.2 kB / 487.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.1125, allocations: 41.62 kB / 487.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1125, allocations: 0 / 487.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1125, allocations: 0 / 487.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1127, allocations: 36.03 kB / 487.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1127, allocations: 0 / 487.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.1129, allocations: 31.81 kB / 487.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1129, allocations: 4 kB / 487.4 MB, free: 7.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 10 * 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.0001317/0.113, allocations: 137.7 kB / 487.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.113, allocations: 11.95 kB / 487.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1133, allocations: 94.47 kB / 487.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1133, allocations: 4 kB / 487.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1133, allocations: 0 / 487.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1133, allocations: 7.938 kB / 487.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.1136, allocations: 326.5 kB / 488 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1136, allocations: 4.062 kB / 488 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1138, allocations: 31.91 kB / 488 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1138, allocations: 12 kB / 488 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1138, allocations: 0 / 488 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.1138, allocations: 7.938 kB / 488 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1138, allocations: 0 / 488 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.1143, allocations: 286.8 kB / 488.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.1144, allocations: 96.95 kB / 488.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1144, allocations: 0 / 488.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1146, allocations: 27.91 kB / 488.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.68e-05/0.1146, allocations: 19.92 kB / 488.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1147, allocations: 8 kB / 488.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1148, allocations: 126.5 kB / 488.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1148, allocations: 0 / 488.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.115, allocations: 24 kB / 488.6 MB, free: 6.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001062/0.1161, allocations: 0.892 MB / 489.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005203/0.1166, allocations: 199.2 kB / 489.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1166, allocations: 0 / 489.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.1169, allocations: 84.3 kB / 489.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1172, allocations: 24.05 kB / 489.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1201, allocations: 2.052 MB / 491.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.1205, allocations: 0.7197 MB / 492.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.658e-05/0.1205, allocations: 20.41 kB / 492.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.1206, allocations: 35.42 kB / 492.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1206, allocations: 0 / 492.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.144, allocations: 2.956 MB / 495.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.266, allocations: 19.84 kB / 495.6 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 652] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.721950901206583] Failed to read output from testmodel.py, exit status != 0: 8.33620002726093 8.363160417 8.252451674 Calling exit ...