Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) 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.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004784/0.004784, allocations: 99.58 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 193.6 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02612/0.02612, allocations: 4.661 MB / 295.2 MB, free: 10.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 71.88 kB / 407.8 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.09008, allocations: 50.49 MB / 458.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005743/0.09586, allocations: 3.962 MB / 462.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.0977, allocations: 0.8998 MB / 463.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.09793, allocations: 19.94 kB / 463.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.09822, allocations: 87.09 kB / 463.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.09856, allocations: 158.5 kB / 463.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.09901, allocations: 183.8 kB / 463.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008356/0.09985, allocations: 0.7596 MB / 464.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.1007, allocations: 0.5002 MB / 464.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.1011, allocations: 279.2 kB / 465.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.1016, allocations: 298.7 kB / 465.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1017, allocations: 88 kB / 465.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1019, allocations: 84 kB / 465.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.102, allocations: 155.6 kB / 465.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.1024, allocations: 342.5 kB / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.1033, allocations: 0.8372 MB / 466.9 MB, free: 352 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1033, allocations: 7.984 kB / 466.9 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1033, allocations: 0 / 466.9 MB, free: 344 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1034, allocations: 0 / 466.9 MB, free: 344 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001745/0.1051, allocations: 0.9024 MB / 467.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1052, allocations: 8.031 kB / 467.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.1053, allocations: 94.7 kB / 467.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.1054, allocations: 64.56 kB / 468 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.1059, allocations: 379.4 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.106, allocations: 41.38 kB / 468.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.1061, allocations: 48.38 kB / 468.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.1072, allocations: 0.5927 MB / 469.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1072, allocations: 0 / 469.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.1073, allocations: 23.98 kB / 469.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1073, allocations: 12 kB / 469.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1084, allocations: 467.7 kB / 469.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.1112, allocations: 1.891 MB / 471.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.1121, allocations: 425.8 kB / 471.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.1127, allocations: 286.1 kB / 472.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.1127, allocations: 4.281 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000673/0.1134, allocations: 325.5 kB / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/0.1134, allocations: 0 / 472.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001575/0.115, allocations: 0.6598 MB / 473.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1151, allocations: 81.11 kB / 473.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.1155, allocations: 336.5 kB / 473.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1155, allocations: 29.7 kB / 473.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1157, allocations: 260.4 kB / 473.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1159, allocations: 142.8 kB / 473.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.1161, allocations: 78.08 kB / 474 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.1162, allocations: 358.7 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.1167, allocations: 196.8 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.1173, allocations: 275.4 kB / 474.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1183, allocations: 0.5021 MB / 475.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1183, allocations: 0 / 475.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001273/0.1196, allocations: 0.5979 MB / 475.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.1197, allocations: 33.7 kB / 476 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1197, allocations: 0 / 476 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1197, allocations: 4 kB / 476 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.1203, allocations: 119.9 kB / 476.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1204, allocations: 7.984 kB / 476.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.1207, allocations: 55.84 kB / 476.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1207, allocations: 19.92 kB / 476.2 MB, free: 6.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002954/0.121, allocations: 213.7 kB / 476.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.1211, allocations: 39.7 kB / 476.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.1221, allocations: 457.3 kB / 476.9 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1221, allocations: 8 kB / 476.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.1221, allocations: 4 kB / 476.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1221, allocations: 3.938 kB / 476.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.1229, allocations: 0.6064 MB / 477.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1229, allocations: 0 / 477.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.1235, allocations: 107.9 kB / 477.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1235, allocations: 7.938 kB / 477.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.1236, allocations: 4 kB / 477.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1236, allocations: 8.062 kB / 477.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1236, allocations: 0 / 477.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.1252, allocations: 0.7781 MB / 478.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.1254, allocations: 117 kB / 478.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.1254, allocations: 12 kB / 478.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.1257, allocations: 31.95 kB / 478.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1258, allocations: 31.95 kB / 478.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.1259, allocations: 15.98 kB / 478.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002829/0.1262, allocations: 239 kB / 478.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1262, allocations: 0 / 478.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.1266, allocations: 135.7 kB / 479 MB, free: 3.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.002017/0.1287, allocations: 1.33 MB / 480.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1298, allocations: 0.5301 MB / 480.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1298, allocations: 384 / 480.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.1304, allocations: 247.7 kB / 481.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.1308, allocations: 59.5 kB / 481.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.138, allocations: 4.469 MB / 485.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.1385, allocations: 0.8579 MB / 486.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.1388, allocations: 62.92 kB / 486.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.1391, allocations: 159.4 kB / 486.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.435e-06/0.1391, allocations: 0 / 486.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/0.1733, allocations: 8.753 MB / 495.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.579, allocations: 15.62 kB / 495.4 MB, free: 3.238 MB / 366.1 MB (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)