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.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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_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.0009138/0.0009138, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009145/0.0009145, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.171/0.171, allocations: 4.626 MB / 295.6 MB, free: 4.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 8 kB / 357.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1001, allocations: 51.49 MB / 409.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.002759/0.1028, allocations: 2.419 MB / 411.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.1038, allocations: 0.6666 MB / 412.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.104, allocations: 4 kB / 412.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1041, allocations: 35.7 kB / 412.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1043, allocations: 91.73 kB / 412.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1045, allocations: 59.94 kB / 412.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003284/0.1049, allocations: 251.5 kB / 412.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.1052, allocations: 173 kB / 412.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.1054, allocations: 107.6 kB / 413 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1056, allocations: 115.5 kB / 413.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.1056, allocations: 16 kB / 413.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.781e-05/0.1057, allocations: 16 kB / 413.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.1057, allocations: 43.83 kB / 413.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.1058, allocations: 81.52 kB / 413.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1061, allocations: 319.5 kB / 413.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1061, allocations: 0 / 413.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1061, allocations: 0 / 413.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1061, allocations: 0 / 413.5 MB, free: 10.52 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001038/0.1072, allocations: 0.5986 MB / 414.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1072, allocations: 8.031 kB / 414.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.848e-05/0.1073, allocations: 62.53 kB / 414.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.1074, allocations: 35.62 kB / 414.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1077, allocations: 271.4 kB / 414.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1077, allocations: 20.56 kB / 414.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.1077, allocations: 31.97 kB / 414.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/0.1084, allocations: 339.6 kB / 414.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1084, allocations: 0 / 414.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.1084, allocations: 8 kB / 414.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1084, allocations: 4 kB / 414.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.1091, allocations: 306 kB / 415.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1105, allocations: 1.056 MB / 416.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.1112, allocations: 319.2 kB / 416.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1113, allocations: 4.172 kB / 416.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.1117, allocations: 215.3 kB / 416.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.1117, allocations: 0 / 416.8 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001017/0.1127, allocations: 446.4 kB / 417.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1128, allocations: 59.41 kB / 417.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.113, allocations: 229 kB / 417.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.1131, allocations: 29.7 kB / 417.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1132, allocations: 172.1 kB / 417.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.1132, allocations: 70.94 kB / 417.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.1133, allocations: 4 kB / 417.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1134, allocations: 346.8 kB / 418.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1137, allocations: 135.9 kB / 418.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.1141, allocations: 171.3 kB / 418.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1144, allocations: 178.5 kB / 418.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1144, allocations: 0 / 418.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007474/0.1152, allocations: 401.9 kB / 419 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1152, allocations: 37.7 kB / 419 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1152, allocations: 0 / 419 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1153, allocations: 8.094 kB / 419 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.1156, allocations: 67.89 kB / 419.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1156, allocations: 0 / 419.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1159, allocations: 59.7 kB / 419.1 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1159, allocations: 8 kB / 419.1 MB, free: 4.617 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 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.1161, allocations: 166.9 kB / 419.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1162, allocations: 15.81 kB / 419.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/0.1169, allocations: 360.6 kB / 419.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1169, allocations: 4 kB / 419.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.117, allocations: 0 / 419.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.117, allocations: 3.938 kB / 419.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1174, allocations: 389.3 kB / 420.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1174, allocations: 3.953 kB / 420.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.1178, allocations: 59.95 kB / 420.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1178, allocations: 0 / 420.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1178, allocations: 7.984 kB / 420.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1178, allocations: 4 kB / 420.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1178, allocations: 0 / 420.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1189, allocations: 0.5254 MB / 420.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.119, allocations: 104.8 kB / 420.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.119, allocations: 7.984 kB / 420.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1192, allocations: 32.05 kB / 420.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.1193, allocations: 23.95 kB / 420.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.1193, allocations: 8 kB / 420.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.1195, allocations: 168.5 kB / 421 MB, free: 2.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1195, allocations: 0 / 421 MB, free: 2.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1198, allocations: 67.84 kB / 421.1 MB, free: 2.586 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.1211, allocations: 1.075 MB / 422.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.1219, allocations: 375.4 kB / 422.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1219, allocations: 4 kB / 422.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.1223, allocations: 163.8 kB / 422.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1226, allocations: 24.42 kB / 422.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1704/0.293, allocations: 2.262 MB / 425 MB, free: 45.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2933, allocations: 0.7797 MB / 425.7 MB, free: 44.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.2935, allocations: 34.23 kB / 425.8 MB, free: 44.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.2936, allocations: 80.89 kB / 425.8 MB, free: 44.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.432e-06/0.2936, allocations: 0 / 425.8 MB, free: 44.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.3092, allocations: 4.858 MB / 430.7 MB, free: 44.17 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001398/0.3093, allocations: 180.5 kB / 430.9 MB, free: 43.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.034, allocations: 0 / 430.9 MB, free: 43.93 MB / 350.1 MB (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/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) Environment - environmentSimulation: