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.001917/0.001917, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002228/0.002228, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.492/1.492, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.03397/0.03397, allocations: 4.72 MB / 314.3 MB, free: 1.875 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FastBuildings 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.001942/0.001942, allocations: 69.67 kB / 436.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08904, allocations: 54.45 MB / 491.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002388/0.09143, allocations: 1.712 MB / 492.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.09221, allocations: 0.5472 MB / 493.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.09228, allocations: 5.281 kB / 493.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.09239, allocations: 19.86 kB / 493.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.09246, allocations: 23.02 kB / 493.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.0927, allocations: 57.11 kB / 493.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.09287, allocations: 116.4 kB / 493.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.093, allocations: 46.92 kB / 493.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.09316, allocations: 57.31 kB / 493.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.09323, allocations: 58.97 kB / 493.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.09326, allocations: 12.27 kB / 493.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.0933, allocations: 11.31 kB / 493.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.09334, allocations: 24.05 kB / 493.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.09339, allocations: 47.14 kB / 493.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.09354, allocations: 114.5 kB / 494 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09355, allocations: 1.031 kB / 494 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09355, allocations: 0 / 494 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.09355, allocations: 4 kB / 494 MB, free: 10.63 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.0006971/0.09425, allocations: 473.6 kB / 494.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09428, allocations: 10.19 kB / 494.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.773e-05/0.09432, allocations: 15.22 kB / 494.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.09437, allocations: 48.86 kB / 494.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.09459, allocations: 40.12 kB / 494.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.09476, allocations: 213.3 kB / 494.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.09477, allocations: 9.828 kB / 494.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.0948, allocations: 25.47 kB / 494.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.09517, allocations: 192.2 kB / 495 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.09518, allocations: 7.938 kB / 495 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.0952, allocations: 4 kB / 495 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.09521, allocations: 4 kB / 495 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.0956, allocations: 139.8 kB / 495.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.09632, allocations: 0.7919 MB / 496 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.09671, allocations: 221 kB / 496.2 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.09693, allocations: 120.3 kB / 496.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.09695, allocations: 0 / 496.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.09725, allocations: 181.1 kB / 496.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.09725, allocations: 0 / 496.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001654/0.0989, allocations: 0.6094 MB / 497.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.09895, allocations: 162.2 kB / 497.2 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.09907, allocations: 179.4 kB / 497.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.09909, allocations: 33.7 kB / 497.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.09914, allocations: 108.5 kB / 497.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.09918, allocations: 83.31 kB / 497.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.96e-05/0.09925, allocations: 41.7 kB / 497.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.333e-05/0.09931, allocations: 334.8 kB / 498 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.09959, allocations: 95.91 kB / 498.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.09989, allocations: 175.5 kB / 498.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.1004, allocations: 293.2 kB / 498.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1004, allocations: 0 / 498.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006785/0.1011, allocations: 358.8 kB / 498.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1011, allocations: 29.7 kB / 498.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1011, allocations: 8.219 kB / 499 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1012, allocations: 4 kB / 499 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.1014, allocations: 59.89 kB / 499 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1014, allocations: 4 kB / 499 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1016, allocations: 31.95 kB / 499 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1016, allocations: 8 kB / 499.1 MB, free: 5.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 24 * 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 9.154e-05/0.1017, allocations: 146.1 kB / 499.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.1018, allocations: 19.86 kB / 499.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1021, allocations: 155.5 kB / 499.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1021, allocations: 4 kB / 499.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1021, allocations: 4 kB / 499.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1021, allocations: 3.984 kB / 499.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1032, allocations: 1.011 MB / 0.4887 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1032, allocations: 0 / 0.4887 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.1034, allocations: 55.83 kB / 0.4887 GB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1034, allocations: 4 kB / 0.4887 GB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1035, allocations: 11.94 kB / 0.4887 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1035, allocations: 4 kB / 0.4887 GB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1035, allocations: 4.188 kB / 0.4887 GB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.1041, allocations: 0.7007 MB / 0.4894 GB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.1041, allocations: 97.05 kB / 0.4895 GB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.1042, allocations: 11.94 kB / 0.4895 GB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.1045, allocations: 31.97 kB / 0.4896 GB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.1046, allocations: 23.95 kB / 0.4896 GB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1046, allocations: 15.94 kB / 0.4896 GB, free: 2.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.1047, allocations: 131.2 kB / 0.4897 GB, free: 2.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1047, allocations: 0 / 0.4897 GB, free: 2.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004333/0.1051, allocations: 40 kB / 0.4898 GB, free: 2.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (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.001112/0.1062, allocations: 1.369 MB / 0.4911 GB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.1069, allocations: 314.7 kB / 0.4914 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1069, allocations: 7.938 kB / 0.4914 GB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.1072, allocations: 143.8 kB / 0.4915 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.1078, allocations: 29.95 kB / 0.4916 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.1117, allocations: 2.842 MB / 0.4943 GB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1121, allocations: 0.7358 MB / 0.4951 GB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.1122, allocations: 37.52 kB / 0.4951 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1123, allocations: 51.41 kB / 0.4952 GB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1123, allocations: 0 / 0.4952 GB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1315, allocations: 4.038 MB / 0.4991 GB, free: 8.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.387, allocations: 17.61 kB / 0.4991 GB, free: 8.949 MB / 366.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.07853930699639] Failed to read output from testmodel.py, exit status != 0: 8.514056941028684 8.537896414 8.440288485 Calling exit ...