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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006521/0.006521, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001581/0.001581, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1545/0.1545, allocations: 4.632 MB / 295.2 MB, free: 3.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.89 kB / 407.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2806, allocations: 50.49 MB / 458.2 MB, free: 19.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002638/0.2833, allocations: 1.704 MB / 459.9 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.2841, allocations: 476.8 kB / 460.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.2842, allocations: 0 / 460.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2843, allocations: 26.17 kB / 460.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.2844, allocations: 18.28 kB / 460.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2846, allocations: 47.75 kB / 460.5 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.2847, allocations: 115.1 kB / 460.6 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2849, allocations: 53.22 kB / 460.7 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.285, allocations: 52.73 kB / 460.7 MB, free: 18.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.2851, allocations: 67.81 kB / 460.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.2852, allocations: 6.219 kB / 460.8 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.2852, allocations: 13.28 kB / 460.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.2852, allocations: 21.41 kB / 460.8 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.2853, allocations: 55.31 kB / 460.9 MB, free: 18.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.2855, allocations: 105.6 kB / 461 MB, free: 17.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2855, allocations: 0 / 461 MB, free: 17.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2855, allocations: 0 / 461 MB, free: 17.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2855, allocations: 0 / 461 MB, free: 17.98 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007773/0.2863, allocations: 468.3 kB / 461.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2863, allocations: 13.25 kB / 461.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.2864, allocations: 53.33 kB / 461.5 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.2865, allocations: 18.5 kB / 461.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2866, allocations: 210.3 kB / 461.7 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2867, allocations: 6.438 kB / 461.7 MB, free: 17.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.2867, allocations: 16.81 kB / 461.8 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.2871, allocations: 193.4 kB / 461.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2871, allocations: 3.938 kB / 461.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2872, allocations: 4 kB / 461.9 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2872, allocations: 6.688 kB / 462 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.2876, allocations: 128.2 kB / 462.1 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.2884, allocations: 0.7538 MB / 462.8 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.2888, allocations: 263.5 kB / 463.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.2891, allocations: 101.6 kB / 463.2 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2891, allocations: 8.594 kB / 463.2 MB, free: 16.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.2894, allocations: 164.8 kB / 463.4 MB, free: 16.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2895, allocations: 0 / 463.4 MB, free: 16.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007448/0.2902, allocations: 242 kB / 463.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.2903, allocations: 166.1 kB / 463.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.2904, allocations: 166.4 kB / 463.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2904, allocations: 33 kB / 464 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.2905, allocations: 118.1 kB / 464.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2905, allocations: 40.67 kB / 464.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.2906, allocations: 30.2 kB / 464.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2906, allocations: 322.8 kB / 464.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.2909, allocations: 62.86 kB / 464.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.2911, allocations: 97.09 kB / 464.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.2915, allocations: 181.5 kB / 464.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2915, allocations: 3.938 kB / 464.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005288/0.2921, allocations: 236.4 kB / 465 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.2921, allocations: 33.55 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2921, allocations: 1.469 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2921, allocations: 1.219 kB / 465.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.2923, allocations: 34.05 kB / 465.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2923, allocations: 10.5 kB / 465.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2925, allocations: 26.12 kB / 465.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.2925, allocations: 8.406 kB / 465.1 MB, free: 14.76 MB / 350.1 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.2926, allocations: 132.2 kB / 465.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.2927, allocations: 15.19 kB / 465.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.2929, allocations: 97.62 kB / 465.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2929, allocations: 2.625 kB / 465.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2929, allocations: 0 / 465.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2929, allocations: 4.016 kB / 465.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.2932, allocations: 437.9 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2932, allocations: 0.7969 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2934, allocations: 33.72 kB / 465.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2934, allocations: 2.844 kB / 465.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2934, allocations: 4.75 kB / 465.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2934, allocations: 0 / 465.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2934, allocations: 6.938 kB / 465.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.2939, allocations: 365.3 kB / 466.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.294, allocations: 100.2 kB / 466.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.294, allocations: 3.516 kB / 466.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2942, allocations: 23.31 kB / 466.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.2943, allocations: 31.09 kB / 466.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2943, allocations: 8.016 kB / 466.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.737e-05/0.2944, allocations: 126.4 kB / 466.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2944, allocations: 3.062 kB / 466.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.2948, allocations: 25.44 kB / 466.5 MB, free: 13.65 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009592/0.2958, allocations: 0.9839 MB / 467.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005593/0.2963, allocations: 206 kB / 467.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2964, allocations: 3.938 kB / 467.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.2966, allocations: 91.84 kB / 467.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.297, allocations: 21.8 kB / 467.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.2998, allocations: 2.155 MB / 470 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.3, allocations: 0.7207 MB / 470.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.593e-05/0.3001, allocations: 13.64 kB / 470.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.3002, allocations: 43.62 kB / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3002, allocations: 0 / 470.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/0.4603, allocations: 3.064 MB / 473.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9, allocations: 15.94 kB / 473.8 MB, free: 9.805 MB / 350.1 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/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)