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.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.0009905/0.0009905, 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.001035/0.001035, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8957/0.8957, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.01348/0.01348, allocations: 3.575 MB / 262.8 MB, free: 9.824 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.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 1.904e-06/1.904e-06, allocations: 0 / 386.8 MB, free: 9.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.255e-05, allocations: 6.281 kB / 386.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00296/0.002983, allocations: 1.658 MB / 388.4 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.003942, allocations: 0.5182 MB / 389 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.004016, allocations: 11.94 kB / 389 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.111e-05/0.004107, allocations: 11.86 kB / 389 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.057e-05/0.004167, allocations: 31.66 kB / 389 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.004386, allocations: 55.8 kB / 389.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.004539, allocations: 123.6 kB / 389.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.004662, allocations: 37.05 kB / 389.2 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.004821, allocations: 75.81 kB / 389.3 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.004894, allocations: 51.81 kB / 389.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.004916, allocations: 8 kB / 389.4 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.004956, allocations: 15.94 kB / 389.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.00499, allocations: 27.91 kB / 389.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.005036, allocations: 27.92 kB / 389.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.005182, allocations: 115.6 kB / 389.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005184, allocations: 3.938 kB / 389.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005185, allocations: 0 / 389.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005189, allocations: 4 kB / 389.5 MB, free: 7.152 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005356/0.005725, allocations: 398.3 kB / 389.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.00576, allocations: 8.031 kB / 389.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.00582, allocations: 50.83 kB / 390 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.005957, allocations: 36.81 kB / 390 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.006112, allocations: 153.5 kB / 390.2 MB, free: 6.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006123, allocations: 8.562 kB / 390.2 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.00614, allocations: 12.38 kB / 390.2 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.00639, allocations: 186.3 kB / 390.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006398, allocations: 0 / 390.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.006409, allocations: 3.938 kB / 390.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.006415, allocations: 7.984 kB / 390.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.006627, allocations: 131.8 kB / 390.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.007197, allocations: 0.6801 MB / 391.2 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.007422, allocations: 176.9 kB / 391.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.007535, allocations: 80.3 kB / 391.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.007551, allocations: 4 kB / 391.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.007752, allocations: 159.5 kB / 391.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.007753, allocations: 0 / 391.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004221/0.008175, allocations: 237.7 kB / 391.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.008231, allocations: 158.2 kB / 392 MB, free: 4.422 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.008336, allocations: 175.3 kB / 392.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.008352, allocations: 29.7 kB / 392.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.008408, allocations: 120 kB / 392.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.008426, allocations: 31.73 kB / 392.3 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.008466, allocations: 25.7 kB / 392.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.008543, allocations: 326.8 kB / 392.7 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.008661, allocations: 89.67 kB / 392.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.008785, allocations: 121.9 kB / 392.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.008998, allocations: 181.8 kB / 393.1 MB, free: 3.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.009001, allocations: 3.938 kB / 393.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002796/0.009281, allocations: 244.9 kB / 393.3 MB, free: 3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.00931, allocations: 29.7 kB / 393.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.009316, allocations: 8.109 kB / 393.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.009326, allocations: 4 kB / 393.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.009414, allocations: 27.98 kB / 393.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.009419, allocations: 7.984 kB / 393.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.009491, allocations: 23.94 kB / 393.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.009502, allocations: 4 kB / 393.4 MB, free: 2.891 MB / 314.7 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 7.872e-05/0.009581, allocations: 133.8 kB / 393.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.009595, allocations: 11.91 kB / 393.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.009713, allocations: 94.61 kB / 393.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000258/0.009971, allocations: 4 kB / 393.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.009975, allocations: 0 / 393.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.009979, allocations: 7.938 kB / 393.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01015, allocations: 301.5 kB / 394 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01015, allocations: 4 kB / 394 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.01022, allocations: 27.91 kB / 394 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01022, allocations: 0 / 394 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01023, allocations: 12.06 kB / 394 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01023, allocations: 0 / 394 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01023, allocations: 4 kB / 394 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.01049, allocations: 286.6 kB / 394.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.0105, allocations: 11.95 kB / 394.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01052, allocations: 4 kB / 394.3 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.727e-05/0.0106, allocations: 23.97 kB / 394.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.01065, allocations: 19.92 kB / 394.3 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.01066, allocations: 7.984 kB / 394.4 MB, free: 1.863 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.01072, allocations: 135.1 kB / 394.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01072, allocations: 0 / 394.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.0109, allocations: 23.95 kB / 394.5 MB, free: 1.707 MB / 314.7 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.0005414/0.01144, allocations: 0.8837 MB / 395.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.01173, allocations: 224.9 kB / 395.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01173, allocations: 256 / 395.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01186, allocations: 91.84 kB / 395.7 MB, free: 468 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.01207, allocations: 16.72 kB / 395.7 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.01376, allocations: 2.181 MB / 397.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.968e-05/0.01383, allocations: 113.5 kB / 398 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.736e-05/0.01388, allocations: 12.48 kB / 398 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.01394, allocations: 44.47 kB / 398.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01395, allocations: 0 / 398.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02799, allocations: 3.769 MB / 401.8 MB, free: 10.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.63/6.658, allocations: 21.09 kB / 401.9 MB, free: 10.25 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.443614836782217] Failed to read output from testmodel.py, exit status != 0: 6.738125439733267 6.88632669 6.87897053 Calling exit ...