Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.004847/0.004847, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001279/0.001279, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02546/0.02546, allocations: 4.649 MB / 295.2 MB, free: 10.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 60.34 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09921, allocations: 50.51 MB / 458.3 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004511/0.1038, allocations: 2.857 MB / 461.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1051, allocations: 0.6817 MB / 461.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1052, allocations: 4 kB / 461.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1054, allocations: 43.53 kB / 461.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1056, allocations: 79.2 kB / 462 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1059, allocations: 103.8 kB / 462.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.1064, allocations: 390.5 kB / 462.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.1067, allocations: 200.4 kB / 462.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.107, allocations: 143.5 kB / 462.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1072, allocations: 155.4 kB / 462.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.1073, allocations: 40 kB / 463 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.1074, allocations: 36 kB / 463 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.1075, allocations: 83.69 kB / 463.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1077, allocations: 163.3 kB / 463.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.1081, allocations: 394.8 kB / 463.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1082, allocations: 0 / 463.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1082, allocations: 0 / 463.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1082, allocations: 4 kB / 463.7 MB, free: 3.66 MB / 334.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.001308/0.1095, allocations: 0.6407 MB / 464.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1095, allocations: 12.03 kB / 464.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.072e-05/0.1096, allocations: 66.67 kB / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.1097, allocations: 32.75 kB / 464.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.1101, allocations: 268.8 kB / 464.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.1101, allocations: 20.94 kB / 464.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.1102, allocations: 24.38 kB / 464.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.1108, allocations: 315.7 kB / 465 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1109, allocations: 0 / 465 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.1109, allocations: 16 kB / 465 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1109, allocations: 7.938 kB / 465 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/0.1116, allocations: 238.1 kB / 465.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.1132, allocations: 0.998 MB / 466.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.1139, allocations: 282.6 kB / 466.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.1143, allocations: 148.8 kB / 466.7 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1143, allocations: 0 / 466.7 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.1148, allocations: 180.9 kB / 466.9 MB, free: 244 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.1148, allocations: 0 / 466.9 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001069/0.1159, allocations: 388.7 kB / 467.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.1159, allocations: 55.41 kB / 467.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1162, allocations: 217 kB / 467.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.1162, allocations: 33.64 kB / 467.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1164, allocations: 176.3 kB / 467.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1164, allocations: 75.38 kB / 467.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1166, allocations: 49.7 kB / 467.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1167, allocations: 330.8 kB / 468.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.1171, allocations: 119.9 kB / 468.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.1174, allocations: 143.4 kB / 468.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.1181, allocations: 287.5 kB / 468.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1181, allocations: 0 / 468.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007914/0.1189, allocations: 354.1 kB / 469 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.1189, allocations: 45.62 kB / 469.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.119, allocations: 3.984 kB / 469.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.119, allocations: 8 kB / 469.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.1193, allocations: 59.95 kB / 469.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1193, allocations: 0 / 469.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1196, allocations: 35.89 kB / 469.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.1196, allocations: 23.86 kB / 469.2 MB, free: 13.79 MB / 350.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 (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 (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.0001743/0.1198, allocations: 149.9 kB / 469.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1198, allocations: 23.86 kB / 469.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.1206, allocations: 303.6 kB / 469.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1206, allocations: 4 kB / 469.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1206, allocations: 4 kB / 469.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1206, allocations: 0 / 469.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.1211, allocations: 373.3 kB / 470.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1211, allocations: 3.938 kB / 470.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1215, allocations: 51.95 kB / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1215, allocations: 0 / 470.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.1215, allocations: 11.94 kB / 470.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1216, allocations: 0 / 470.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1216, allocations: 0 / 470.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1227, allocations: 452.7 kB / 470.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.1228, allocations: 104.9 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.1228, allocations: 7.984 kB / 470.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.123, allocations: 24.05 kB / 470.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.1231, allocations: 19.97 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1231, allocations: 4 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1233, allocations: 164.5 kB / 470.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1233, allocations: 0 / 470.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1236, allocations: 67.89 kB / 471 MB, free: 11.95 MB / 350.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,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.001464/0.1251, allocations: 0.9946 MB / 471.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007507/0.1259, allocations: 327 kB / 472.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1259, allocations: 0 / 472.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1262, allocations: 131.8 kB / 472.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1266, allocations: 36.61 kB / 472.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.1313, allocations: 2.809 MB / 475.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.1317, allocations: 0.7632 MB / 476 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1318, allocations: 25.53 kB / 476 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.132, allocations: 83.41 kB / 476.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.685e-06/0.132, allocations: 0 / 476.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.1622, allocations: 5.237 MB / 481.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.317, allocations: 12 kB / 481.4 MB, free: 1.48 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)