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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008617/0.008617, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.01941/0.01941, allocations: 4.635 MB / 20.49 MB, free: 1.473 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 245.5 MB, free: 12.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008425, allocations: 100.3 kB / 297.7 MB, free: 8.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003202, allocations: 11.98 kB / 359.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 51.46 MB / 411.3 MB, free: 50.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08638/0.3226, allocations: 78.8 MB / 490.1 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001202/0.3228, allocations: 56.45 kB / 490.1 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.3376, allocations: 5.832 MB / 496 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3376, allocations: 0 / 496 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.3376, allocations: 4 kB / 496 MB, free: 10.41 MB / 362.7 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.001042/0.3387, allocations: 0.5995 MB / 496.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3387, allocations: 8.031 kB / 496.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.812e-05/0.3388, allocations: 58.55 kB / 496.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.3389, allocations: 32.5 kB / 496.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.3393, allocations: 287.3 kB / 497 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3393, allocations: 16.56 kB / 497 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.3393, allocations: 24 kB / 497 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.34, allocations: 335.6 kB / 497.3 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.34, allocations: 3.938 kB / 497.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.3401, allocations: 12 kB / 497.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.3401, allocations: 4 kB / 497.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.3407, allocations: 302 kB / 497.6 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.3423, allocations: 1.053 MB / 498.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.343, allocations: 312 kB / 499 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3431, allocations: 4.188 kB / 499 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.3435, allocations: 201 kB / 499.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.3435, allocations: 0 / 499.2 MB, free: 6.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009821/0.3445, allocations: 456.2 kB / 499.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3445, allocations: 55.41 kB / 499.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.3447, allocations: 212.1 kB / 499.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3448, allocations: 29.7 kB / 499.9 MB, free: 6.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3449, allocations: 168.1 kB / 0.4884 GB, free: 6.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-05/0.345, allocations: 79 kB / 0.4884 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.345, allocations: 4 kB / 0.4884 GB, free: 5.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3451, allocations: 330.8 kB / 0.4888 GB, free: 5.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3454, allocations: 132.4 kB / 0.4889 GB, free: 5.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.3457, allocations: 180.3 kB / 0.4891 GB, free: 5.336 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3461, allocations: 175.7 kB / 0.4892 GB, free: 5.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3461, allocations: 0 / 0.4892 GB, free: 5.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000785/0.3469, allocations: 421.7 kB / 0.4896 GB, free: 4.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.3469, allocations: 33.8 kB / 0.4897 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3469, allocations: 0 / 0.4897 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.347, allocations: 11.92 kB / 0.4897 GB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.3473, allocations: 71.89 kB / 0.4897 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3473, allocations: 4 kB / 0.4897 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3476, allocations: 59.66 kB / 0.4898 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.3476, allocations: 4 kB / 0.4898 GB, free: 4.547 MB / 362.7 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.000155/0.3478, allocations: 170.7 kB / 0.49 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3478, allocations: 23.7 kB / 0.49 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007331/0.3486, allocations: 343.6 kB / 0.4903 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3486, allocations: 7.984 kB / 0.4903 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3486, allocations: 4 kB / 0.4903 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3486, allocations: 0 / 0.4903 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.349, allocations: 381.4 kB / 0.4907 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.349, allocations: 3.953 kB / 0.4907 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.3493, allocations: 63.89 kB / 0.4908 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3493, allocations: 4 kB / 0.4908 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3494, allocations: 0 / 0.4908 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3494, allocations: 0 / 0.4908 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3494, allocations: 8 kB / 0.4908 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3504, allocations: 0.5191 MB / 0.4913 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3505, allocations: 104.9 kB / 0.4914 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.3505, allocations: 8 kB / 0.4914 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3507, allocations: 23.97 kB / 0.4914 GB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.3508, allocations: 27.95 kB / 0.4914 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3508, allocations: 8 kB / 0.4914 GB, free: 2.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.351, allocations: 172.4 kB / 0.4916 GB, free: 2.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.351, allocations: 4 kB / 0.4916 GB, free: 2.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002833/0.3513, allocations: 75.72 kB / 0.4917 GB, free: 2.52 MB / 362.7 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.00126/0.3526, allocations: 1.065 MB / 0.4927 GB, free: 1.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.3532, allocations: 374.9 kB / 0.4931 GB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3533, allocations: 0 / 0.4931 GB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.3536, allocations: 156 kB / 0.4932 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3538, allocations: 38.55 kB / 0.4933 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3568, allocations: 2.27 MB / 0.4955 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3571, allocations: 0.7792 MB / 0.4962 GB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3573, allocations: 29.53 kB / 0.4963 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.3574, allocations: 83.41 kB / 0.4964 GB, free: 13.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3574, allocations: 0 / 0.4964 GB, free: 13.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.3725, allocations: 4.858 MB / 0.5011 GB, free: 8.938 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.3727, allocations: 177.5 kB / 0.5013 GB, free: 8.699 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.885, allocations: 0 / 0.5013 GB, free: 8.699 MB / 378.7 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)