Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",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.007119/0.007119, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0193/0.0193, allocations: 4.638 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.489/1.489, allocations: 223.2 MB / 245.5 MB, free: 12.11 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.001147/0.001147, allocations: 103 kB / 297.7 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003888, allocations: 15.98 kB / 359.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3713, allocations: 51.47 MB / 411.3 MB, free: 50.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.4787, allocations: 77.36 MB / 488.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001452/0.4789, allocations: 47.98 kB / 488.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006743/0.4857, allocations: 2.175 MB / 490.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4857, allocations: 3.938 kB / 490.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4857, allocations: 0.8438 kB / 490.9 MB, free: 15.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007183/0.4864, allocations: 467.5 kB / 491.3 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4865, allocations: 8.031 kB / 491.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.22e-05/0.4866, allocations: 60.5 kB / 491.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.4866, allocations: 17.47 kB / 491.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4869, allocations: 199.4 kB / 491.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4869, allocations: 8 kB / 491.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4869, allocations: 19.92 kB / 491.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.4874, allocations: 194 kB / 491.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4874, allocations: 0.75 kB / 491.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.4874, allocations: 4 kB / 491.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.4875, allocations: 4.75 kB / 491.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.4879, allocations: 163.7 kB / 492 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.4889, allocations: 0.7696 MB / 492.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.4894, allocations: 274.2 kB / 493 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4894, allocations: 8.047 kB / 493 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.4898, allocations: 167.5 kB / 493.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.512e-06/0.4898, allocations: 4 kB / 493.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007806/0.4906, allocations: 281.3 kB / 493.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.4907, allocations: 162.4 kB / 493.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4908, allocations: 155.7 kB / 493.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.4908, allocations: 29.7 kB / 493.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.4909, allocations: 119.9 kB / 493.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.491, allocations: 31.56 kB / 494 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.491, allocations: 0 / 494 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4911, allocations: 322.8 kB / 494.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4914, allocations: 75.94 kB / 494.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.4916, allocations: 108.7 kB / 494.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.4918, allocations: 109.6 kB / 494.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.4919, allocations: 3.953 kB / 494.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005454/0.4924, allocations: 247 kB / 494.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.4925, allocations: 42.62 kB / 494.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4925, allocations: 0 / 494.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4925, allocations: 4 kB / 494.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4927, allocations: 40.42 kB / 494.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4927, allocations: 4 kB / 494.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.4929, allocations: 34.48 kB / 494.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.4929, allocations: 11.98 kB / 495 MB, free: 11.04 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.000109/0.493, allocations: 126.8 kB / 495.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.4931, allocations: 27.73 kB / 495.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.4933, allocations: 90.59 kB / 495.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.4933, allocations: 4 kB / 495.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4933, allocations: 0 / 495.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4933, allocations: 7.984 kB / 495.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.4937, allocations: 445.7 kB / 495.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4937, allocations: 4 kB / 495.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4939, allocations: 35.91 kB / 495.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4939, allocations: 0 / 495.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4939, allocations: 4 kB / 495.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4939, allocations: 0 / 495.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4939, allocations: 8.031 kB / 495.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.4946, allocations: 443.8 kB / 496.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.4947, allocations: 92.95 kB / 496.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4947, allocations: 3.953 kB / 496.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.4949, allocations: 27.97 kB / 496.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.495, allocations: 19.97 kB / 496.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.495, allocations: 8 kB / 496.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.4951, allocations: 123.9 kB / 496.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4951, allocations: 0 / 496.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.4954, allocations: 31.91 kB / 496.4 MB, free: 9.422 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001211/0.4967, allocations: 1.334 MB / 497.8 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005507/0.4972, allocations: 230.6 kB / 498 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4972, allocations: 0 / 498 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.4975, allocations: 104.1 kB / 498.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4978, allocations: 20.44 kB / 498.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4999, allocations: 1.631 MB / 499.7 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5002, allocations: 0.7238 MB / 0.4887 GB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.5003, allocations: 20.88 kB / 0.4888 GB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.5004, allocations: 43.34 kB / 0.4888 GB, free: 5.176 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5004, allocations: 0 / 0.4888 GB, free: 5.176 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.5142, allocations: 2.585 MB / 0.4913 GB, free: 2.734 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.5144, allocations: 165.5 kB / 0.4915 GB, free: 2.496 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.08, allocations: 0 / 0.4915 GB, free: 2.496 MB / 362.7 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)