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.0009279/0.0009279, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02141/0.02141, allocations: 4.539 MB / 12.61 MB, free: 296 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 235.6 MB, free: 2.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009747/0.0009745, allocations: 92.69 kB / 287.6 MB, free: 5.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.95e-05, allocations: 8 kB / 345.4 MB, free: 7.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 51.49 MB / 396.9 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.502, allocations: 76.61 MB / 473.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000142/0.5022, allocations: 47.08 kB / 473.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006134/0.5084, allocations: 2.148 MB / 475.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5084, allocations: 0 / 475.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.5084, allocations: 4 kB / 475.7 MB, free: 13.33 MB / 346.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.0005223/0.509, allocations: 454.8 kB / 476.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.509, allocations: 8.031 kB / 476.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.5091, allocations: 17.02 kB / 476.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5092, allocations: 194.9 kB / 476.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5093, allocations: 4 kB / 476.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.5093, allocations: 7.562 kB / 476.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001369/0.5094, allocations: 60.66 kB / 476.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.5096, allocations: 132.3 kB / 476.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5096, allocations: 1.312 kB / 476.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5096, allocations: 7.328 kB / 476.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5097, allocations: 4 kB / 476.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.5103, allocations: 0.6978 MB / 477.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.5105, allocations: 222.2 kB / 477.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.5106, allocations: 59.25 kB / 477.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5107, allocations: 5.688 kB / 477.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5108, allocations: 130.1 kB / 477.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.5108, allocations: 0 / 477.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002446/0.5111, allocations: 116.1 kB / 477.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.5111, allocations: 158.2 kB / 477.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.5112, allocations: 137.4 kB / 478.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5113, allocations: 30.55 kB / 478.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.5113, allocations: 114.1 kB / 478.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.5114, allocations: 33.17 kB / 478.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.5114, allocations: 0 / 478.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.5114, allocations: 321.5 kB / 478.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.5115, allocations: 31.89 kB / 478.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.5116, allocations: 65.53 kB / 478.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.5116, allocations: 39.14 kB / 478.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5116, allocations: 0 / 478.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.5119, allocations: 141.5 kB / 478.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.5119, allocations: 35.16 kB / 478.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5119, allocations: 0 / 478.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.512, allocations: 4.141 kB / 478.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.5121, allocations: 36.2 kB / 478.9 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5122, allocations: 5 kB / 478.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.5123, allocations: 33.73 kB / 478.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5123, allocations: 7.312 kB / 478.9 MB, free: 10.17 MB / 346.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 (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 6.771e-05/0.5124, allocations: 116.3 kB / 479.1 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001609/0.5126, allocations: 118 kB / 479.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.5126, allocations: 16.98 kB / 479.2 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.5127, allocations: 78.72 kB / 479.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5128, allocations: 0.75 kB / 479.3 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5128, allocations: 4 kB / 479.3 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5128, allocations: 1.031 kB / 479.3 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.513, allocations: 397.3 kB / 479.7 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.513, allocations: 4 kB / 479.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.5132, allocations: 31.36 kB / 479.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5132, allocations: 0 / 479.7 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5132, allocations: 8.781 kB / 479.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5132, allocations: 3.938 kB / 479.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5132, allocations: 10.78 kB / 479.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5134, allocations: 355.6 kB / 480.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.5135, allocations: 90.22 kB / 480.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.5135, allocations: 3.953 kB / 480.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.5137, allocations: 22.42 kB / 480.2 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.5138, allocations: 22.91 kB / 480.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5138, allocations: 9.219 kB / 480.2 MB, free: 8.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.5139, allocations: 113.2 kB / 480.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5139, allocations: 0 / 480.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.5141, allocations: 23.38 kB / 480.3 MB, free: 8.836 MB / 346.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 (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.0005076/0.5147, allocations: 1.209 MB / 481.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.5149, allocations: 140.1 kB / 481.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5149, allocations: 0 / 481.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.515, allocations: 59.59 kB / 481.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.5152, allocations: 18.56 kB / 481.8 MB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.5159, allocations: 245.3 kB / 482 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.516, allocations: 0.7255 MB / 482.7 MB, free: 6.504 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.5161, allocations: 19 kB / 482.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.5162, allocations: 34.06 kB / 482.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5162, allocations: 3.938 kB / 482.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.5395, allocations: 2.085 MB / 484.9 MB, free: 5.125 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.5398, allocations: 123.1 kB / 485 MB, free: 4.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.131, allocations: 0 / 485 MB, free: 4.938 MB / 346.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)