Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.001836/0.001836, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002003/0.002003, allocations: 222.4 kB / 23.03 MB, free: 4.945 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.02447/0.02447, allocations: 4.715 MB / 317.9 MB, free: 14.32 MB / 254.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.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.001936/0.001936, allocations: 63.91 kB / 441.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 54.51 MB / 496.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004585/0.1068, allocations: 2.711 MB / 499.2 MB, free: 48 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1083, allocations: 0.7323 MB / 499.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.1086, allocations: 11.94 kB / 499.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.1087, allocations: 47.52 kB / 500 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.109, allocations: 87.2 kB / 0.4883 GB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1094, allocations: 131.8 kB / 0.4884 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.1099, allocations: 410.5 kB / 0.4888 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.1103, allocations: 166.3 kB / 0.489 GB, free: 14.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.1106, allocations: 167.5 kB / 0.4892 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1108, allocations: 155.4 kB / 0.4893 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.1109, allocations: 40 kB / 0.4893 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.111, allocations: 48 kB / 0.4894 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.368e-05/0.1111, allocations: 83.77 kB / 0.4895 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1113, allocations: 139.4 kB / 0.4896 GB, free: 13.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.1118, allocations: 442.5 kB / 0.49 GB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1118, allocations: 0 / 0.49 GB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1118, allocations: 3.938 kB / 0.49 GB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1118, allocations: 0 / 0.49 GB, free: 13.41 MB / 366.1 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.001247/0.1131, allocations: 0.5814 MB / 0.4906 GB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1131, allocations: 8.031 kB / 0.4906 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.234e-05/0.1131, allocations: 12.67 kB / 0.4906 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.699e-05/0.1132, allocations: 62.72 kB / 0.4907 GB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.1135, allocations: 48.73 kB / 0.4907 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1139, allocations: 225.9 kB / 0.4909 GB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1139, allocations: 24.88 kB / 0.491 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.114, allocations: 28.36 kB / 0.491 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.1147, allocations: 330.6 kB / 0.4913 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1147, allocations: 4 kB / 0.4913 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1147, allocations: 8 kB / 0.4913 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1147, allocations: 8 kB / 0.4913 GB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.1154, allocations: 281.7 kB / 0.4916 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1169, allocations: 0.8816 MB / 0.4925 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.1177, allocations: 286.6 kB / 0.4927 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.118, allocations: 144.7 kB / 0.4929 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.118, allocations: 4 kB / 0.4929 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.1185, allocations: 197.4 kB / 0.4931 GB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.1185, allocations: 4 kB / 0.4931 GB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001016/0.1195, allocations: 415.3 kB / 0.4935 GB, free: 9.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1196, allocations: 59.34 kB / 0.4935 GB, free: 9.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1198, allocations: 236.9 kB / 0.4937 GB, free: 9.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1198, allocations: 33.7 kB / 0.4938 GB, free: 9.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.12, allocations: 172.3 kB / 0.4939 GB, free: 9.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.12, allocations: 75.33 kB / 0.494 GB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1202, allocations: 49.69 kB / 0.4941 GB, free: 9.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1203, allocations: 330.8 kB / 0.4944 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.1206, allocations: 161.5 kB / 0.4945 GB, free: 8.594 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.121, allocations: 193 kB / 0.4947 GB, free: 8.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.1216, allocations: 313.2 kB / 0.495 GB, free: 8.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1216, allocations: 0 / 0.495 GB, free: 8.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008323/0.1224, allocations: 423.7 kB / 0.4954 GB, free: 7.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.1225, allocations: 33.7 kB / 0.4954 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1225, allocations: 0 / 0.4954 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1225, allocations: 4 kB / 0.4954 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.1228, allocations: 67.89 kB / 0.4955 GB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1229, allocations: 0 / 0.4955 GB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1231, allocations: 35.86 kB / 0.4955 GB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.1231, allocations: 12.06 kB / 0.4956 GB, free: 7.477 MB / 366.1 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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.0001904/0.1233, allocations: 165.7 kB / 0.4957 GB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.1233, allocations: 23.86 kB / 0.4957 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/0.1241, allocations: 327.7 kB / 0.496 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1241, allocations: 0 / 0.496 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1241, allocations: 3.984 kB / 0.4961 GB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1241, allocations: 4 kB / 0.4961 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.1245, allocations: 320.5 kB / 0.4964 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.1245, allocations: 7.938 kB / 0.4964 GB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.1248, allocations: 55.89 kB / 0.4964 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1248, allocations: 0 / 0.4964 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.1249, allocations: 11.94 kB / 0.4964 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1249, allocations: 0 / 0.4964 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1249, allocations: 3.984 kB / 0.4964 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.126, allocations: 0.499 MB / 0.4969 GB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.126, allocations: 27.77 kB / 0.497 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.126, allocations: 8 kB / 0.497 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1262, allocations: 19.97 kB / 0.497 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.1263, allocations: 23.95 kB / 0.497 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1263, allocations: 8 kB / 0.497 GB, free: 5.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1265, allocations: 176.5 kB / 0.4972 GB, free: 5.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1265, allocations: 0 / 0.4972 GB, free: 5.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.1268, allocations: 67.89 kB / 0.4972 GB, free: 5.668 MB / 366.1 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.001369/0.1282, allocations: 1.041 MB / 0.4983 GB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007963/0.129, allocations: 368.8 kB / 0.4986 GB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.129, allocations: 0 / 0.4986 GB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.1293, allocations: 139.8 kB / 0.4987 GB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.1296, allocations: 40.59 kB / 0.4988 GB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.1343, allocations: 3.064 MB / 0.5018 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.1345, allocations: 170.5 kB / 0.5019 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.1346, allocations: 37.61 kB / 0.502 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1348, allocations: 91.33 kB / 0.5021 GB, free: 0.543 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1348, allocations: 0 / 0.5021 GB, free: 0.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.1618, allocations: 5.944 MB / 0.5079 GB, free: 10.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.68, allocations: 5.562 kB / 0.5079 GB, free: 10.77 MB / 382.1 MB " [Timeout remaining time 648] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.49429800605867] Failed to read output from testmodel.py, exit status != 0: 11.839229880017228 12.123700229 12.008061723 Calling exit ...