Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.001239/0.001239, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001403/0.001403, allocations: 215 kB / 20.13 MB, free: 2.949 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.02385/0.02385, allocations: 4.713 MB / 314.3 MB, free: 1.848 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_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.002719/0.002719, allocations: 64.62 kB / 436.7 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.09001, allocations: 54.46 MB / 491.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002354/0.09236, allocations: 1.728 MB / 492.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007752/0.09313, allocations: 0.5502 MB / 493.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.09322, allocations: 5.094 kB / 493.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.76e-05/0.09332, allocations: 17.45 kB / 493.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.778e-05/0.09339, allocations: 23.08 kB / 493.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.09364, allocations: 56.27 kB / 493.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.09382, allocations: 125.3 kB / 493.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.09395, allocations: 43.67 kB / 493.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.09411, allocations: 68.97 kB / 493.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.09419, allocations: 56.58 kB / 493.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.09421, allocations: 9.312 kB / 493.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.09426, allocations: 10.62 kB / 493.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.09429, allocations: 27.97 kB / 493.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.09434, allocations: 53.12 kB / 494 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.0945, allocations: 111.5 kB / 494.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0945, allocations: 0 / 494.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0945, allocations: 3.938 kB / 494.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.09451, allocations: 4 kB / 494.1 MB, free: 10.64 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006976/0.09521, allocations: 475.4 kB / 494.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.09525, allocations: 9.406 kB / 494.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.273e-05/0.09528, allocations: 15.22 kB / 494.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.09533, allocations: 66.12 kB / 494.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.09556, allocations: 37.23 kB / 494.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.09573, allocations: 210.3 kB / 494.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.09574, allocations: 15.72 kB / 494.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.09578, allocations: 22.36 kB / 494.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.09617, allocations: 215 kB / 495.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.09618, allocations: 3.984 kB / 495.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.09619, allocations: 8 kB / 495.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.09621, allocations: 4 kB / 495.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.0966, allocations: 155.7 kB / 495.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.09737, allocations: 0.827 MB / 496.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.09779, allocations: 229 kB / 496.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.09801, allocations: 116.3 kB / 496.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.09803, allocations: 7.922 kB / 496.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.09835, allocations: 197.1 kB / 496.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.09835, allocations: 0 / 496.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001685/0.1, allocations: 0.6212 MB / 497.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1001, allocations: 170.1 kB / 497.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1002, allocations: 175.4 kB / 497.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1002, allocations: 29.7 kB / 497.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1002, allocations: 120.5 kB / 497.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1003, allocations: 87.31 kB / 497.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.1004, allocations: 41.94 kB / 497.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.1004, allocations: 334.8 kB / 498.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.1007, allocations: 108.4 kB / 498.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.101, allocations: 172.5 kB / 498.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.1016, allocations: 297.7 kB / 498.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1016, allocations: 0 / 498.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007022/0.1023, allocations: 355.8 kB / 499.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.1023, allocations: 39.09 kB / 499.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1023, allocations: 0 / 499.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1023, allocations: 7.984 kB / 499.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.1026, allocations: 72.06 kB / 499.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1026, allocations: 7.938 kB / 499.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1028, allocations: 27.97 kB / 499.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1028, allocations: 15.92 kB / 499.3 MB, free: 5.148 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 (27): * Single equations (assignments): 26 * 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.376e-05/0.1029, allocations: 137.8 kB / 499.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1029, allocations: 19.84 kB / 499.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.1032, allocations: 163 kB / 499.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1032, allocations: 4 kB / 499.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1032, allocations: 4 kB / 499.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1032, allocations: 3.984 kB / 499.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.1044, allocations: 1.041 MB / 0.4889 GB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1044, allocations: 0 / 0.4889 GB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.1046, allocations: 59.83 kB / 0.489 GB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1047, allocations: 4 kB / 0.489 GB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1047, allocations: 11.98 kB / 0.489 GB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1047, allocations: 4 kB / 0.489 GB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1047, allocations: 0 / 0.489 GB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.1054, allocations: 0.7096 MB / 0.4897 GB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1054, allocations: 97.02 kB / 0.4898 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.1054, allocations: 7.984 kB / 0.4898 GB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.1058, allocations: 27.97 kB / 0.4898 GB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.1059, allocations: 35.91 kB / 0.4898 GB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1059, allocations: 11.98 kB / 0.4899 GB, free: 2.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.1059, allocations: 135.2 kB / 0.49 GB, free: 2.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1059, allocations: 0 / 0.49 GB, free: 2.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1064, allocations: 36 kB / 0.49 GB, free: 2.508 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 (24): * Single equations (assignments): 22 * 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.001167/0.1075, allocations: 1.373 MB / 0.4914 GB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.1082, allocations: 323 kB / 0.4917 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1083, allocations: 0 / 0.4917 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.1086, allocations: 160.5 kB / 0.4918 GB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.1092, allocations: 28.31 kB / 0.4919 GB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.1135, allocations: 2.907 MB / 0.4947 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.1139, allocations: 0.7438 MB / 0.4954 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.114, allocations: 33.53 kB / 0.4954 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1141, allocations: 59.41 kB / 0.4955 GB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1141, allocations: 0 / 0.4955 GB, free: 12.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.136, allocations: 4.159 MB / 0.4996 GB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.44, allocations: 10.66 kB / 0.4996 GB, free: 8.574 MB / 366.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.03418842802057] Failed to read output from testmodel.py, exit status != 0: 8.568692818982527 8.592630993 8.493546576 Calling exit ...