Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.001089/0.001089, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02499/0.02499, allocations: 4.536 MB / 17.8 MB, free: 2.512 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.449/1.449, allocations: 221.4 MB / 240.8 MB, free: 8.75 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.0009191/0.0009192, allocations: 88.89 kB / 292.8 MB, free: 7.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.638e-05, allocations: 0 / 352.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 51.48 MB / 403.8 MB, free: 28.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.4027, allocations: 77.19 MB / 480.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001417/0.4029, allocations: 47.98 kB / 481 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006434/0.4093, allocations: 2.113 MB / 483.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4094, allocations: 0 / 483.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4094, allocations: 3.938 kB / 483.1 MB, free: 13.06 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006239/0.41, allocations: 447.9 kB / 483.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4101, allocations: 8.031 kB / 483.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.998e-05/0.4102, allocations: 50.64 kB / 483.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.4102, allocations: 11.91 kB / 483.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.4105, allocations: 207.3 kB / 483.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.4105, allocations: 8.188 kB / 483.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.4106, allocations: 8 kB / 483.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.4109, allocations: 146.6 kB / 484 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4109, allocations: 4 kB / 484 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4109, allocations: 11.92 kB / 484 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4109, allocations: 7.938 kB / 484 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4111, allocations: 71.91 kB / 484.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.412, allocations: 0.7432 MB / 484.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4122, allocations: 137 kB / 484.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.4123, allocations: 60.34 kB / 485 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4124, allocations: 0 / 485 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.4126, allocations: 135.6 kB / 485.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4126, allocations: 0 / 485.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002858/0.4129, allocations: 117.4 kB / 485.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.413, allocations: 166.4 kB / 485.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4132, allocations: 147.7 kB / 485.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4132, allocations: 29.7 kB / 485.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.4133, allocations: 123.8 kB / 485.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.4133, allocations: 23.7 kB / 485.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.4133, allocations: 4 kB / 485.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4135, allocations: 323.4 kB / 486.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.4135, allocations: 31.98 kB / 486.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.4136, allocations: 68.28 kB / 486.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.4137, allocations: 61.66 kB / 486.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4138, allocations: 0 / 486.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000262/0.414, allocations: 175.1 kB / 486.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.4141, allocations: 35.58 kB / 486.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4141, allocations: 0 / 486.4 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4141, allocations: 4.031 kB / 486.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.4143, allocations: 31.97 kB / 486.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4144, allocations: 7.938 kB / 486.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.4146, allocations: 35.94 kB / 486.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.4146, allocations: 4 kB / 486.5 MB, free: 9.285 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.536e-05/0.4147, allocations: 110.6 kB / 486.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.4147, allocations: 19.77 kB / 486.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.4149, allocations: 78.53 kB / 486.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4149, allocations: 7.984 kB / 486.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4149, allocations: 0 / 486.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4149, allocations: 4 kB / 486.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.4152, allocations: 334.5 kB / 487 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4152, allocations: 3.938 kB / 487 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4154, allocations: 35.91 kB / 487.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4154, allocations: 3.938 kB / 487.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4154, allocations: 4 kB / 487.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4154, allocations: 8.094 kB / 487.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4154, allocations: 4 kB / 487.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.4157, allocations: 285.5 kB / 487.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.4158, allocations: 92.95 kB / 487.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4158, allocations: 7.984 kB / 487.5 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.416, allocations: 23.94 kB / 487.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.4161, allocations: 23.97 kB / 487.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4161, allocations: 4 kB / 487.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.4162, allocations: 128.9 kB / 487.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4162, allocations: 0 / 487.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.4165, allocations: 24 kB / 487.7 MB, free: 7.965 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0007495/0.4172, allocations: 1.134 MB / 488.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.4175, allocations: 147.5 kB / 489 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4175, allocations: 4 kB / 489 MB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4176, allocations: 47.92 kB / 489 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.4179, allocations: 16.2 kB / 489 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.4186, allocations: 258.9 kB / 489.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.419, allocations: 0.7277 MB / 490 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.851e-05/0.419, allocations: 12.61 kB / 490 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.902e-05/0.4191, allocations: 39.36 kB / 490.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4191, allocations: 7.938 kB / 490.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.4336, allocations: 2.488 MB / 492.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.4338, allocations: 145.8 kB / 492.7 MB, free: 2.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.962, allocations: 0 / 492.7 MB, free: 2.836 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)