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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001239/0.001239, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.225/1.225, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.3859/0.3859, allocations: 4.622 MB / 294.7 MB, free: 3.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 55.91 kB / 356.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08726, allocations: 50.5 MB / 406.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002747/0.09006, allocations: 1.733 MB / 408.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.09079, allocations: 478.8 kB / 408.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.09087, allocations: 0 / 408.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.09098, allocations: 11.92 kB / 408.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.09106, allocations: 15.86 kB / 408.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.09126, allocations: 35.89 kB / 408.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.09145, allocations: 115.6 kB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.09162, allocations: 45.41 kB / 409.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.09175, allocations: 51.83 kB / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.09185, allocations: 55.7 kB / 409.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.09189, allocations: 16 kB / 409.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.141e-05/0.09191, allocations: 11.94 kB / 409.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.09196, allocations: 23.86 kB / 409.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.09204, allocations: 55.7 kB / 409.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.0922, allocations: 103.9 kB / 409.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09221, allocations: 0 / 409.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09222, allocations: 0 / 409.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.09224, allocations: 0 / 409.4 MB, free: 13.51 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008627/0.0931, allocations: 456.7 kB / 409.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.09316, allocations: 12.03 kB / 409.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.09324, allocations: 50.77 kB / 409.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.09329, allocations: 16.75 kB / 409.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.09351, allocations: 208.5 kB / 410.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.09353, allocations: 12.12 kB / 410.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.09355, allocations: 8 kB / 410.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.09394, allocations: 175.2 kB / 410.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.09396, allocations: 0 / 410.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.09399, allocations: 8 kB / 410.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.094, allocations: 4 kB / 410.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.09437, allocations: 131.7 kB / 410.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007279/0.09511, allocations: 0.7354 MB / 411.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.09546, allocations: 177 kB / 411.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.09566, allocations: 84.3 kB / 411.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.09569, allocations: 4 kB / 411.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.09598, allocations: 151.5 kB / 411.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.09599, allocations: 0 / 411.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006777/0.09667, allocations: 241.1 kB / 411.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.09676, allocations: 158.7 kB / 412 MB, free: 10.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.09692, allocations: 171.3 kB / 412.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.09695, allocations: 29.7 kB / 412.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.09702, allocations: 112 kB / 412.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.09705, allocations: 35.61 kB / 412.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.09712, allocations: 25.72 kB / 412.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.09723, allocations: 326.8 kB / 412.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.09743, allocations: 63.88 kB / 412.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.09764, allocations: 96.17 kB / 412.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.09801, allocations: 177.8 kB / 413 MB, free: 9.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.09802, allocations: 0 / 413 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004711/0.0985, allocations: 223.2 kB / 413.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.09854, allocations: 37.69 kB / 413.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.09855, allocations: 3.938 kB / 413.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.09857, allocations: 0 / 413.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.09874, allocations: 31.91 kB / 413.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.09875, allocations: 0 / 413.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.09891, allocations: 23.83 kB / 413.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.09894, allocations: 8 kB / 413.3 MB, free: 9.16 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 (11): * Single equations (assignments): 10 * 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.602e-05/0.09904, allocations: 133.7 kB / 413.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.09907, allocations: 11.91 kB / 413.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.09925, allocations: 90.52 kB / 413.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.09926, allocations: 4 kB / 413.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.09927, allocations: 0 / 413.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.09929, allocations: 7.938 kB / 413.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.09957, allocations: 338.4 kB / 413.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09959, allocations: 0 / 413.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.09972, allocations: 27.91 kB / 413.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.09973, allocations: 4 kB / 413.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.09975, allocations: 4 kB / 413.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.09976, allocations: 7.938 kB / 413.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09976, allocations: 0 / 413.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.1002, allocations: 286.9 kB / 414.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1003, allocations: 96.92 kB / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1003, allocations: 4 kB / 414.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1005, allocations: 23.91 kB / 414.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.1006, allocations: 15.98 kB / 414.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1006, allocations: 8 kB / 414.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.1007, allocations: 128.8 kB / 414.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1007, allocations: 0 / 414.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1009, allocations: 20 kB / 414.5 MB, free: 7.852 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 (9): * Single equations (assignments): 7 * 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.0009054/0.1019, allocations: 0.899 MB / 415.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004498/0.1023, allocations: 203.2 kB / 415.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1023, allocations: 4.25 kB / 415.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.1026, allocations: 83.86 kB / 415.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1029, allocations: 27.83 kB / 415.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.1053, allocations: 2.063 MB / 417.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1055, allocations: 0.7197 MB / 418.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.1056, allocations: 12.42 kB / 418.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.1057, allocations: 35.42 kB / 418.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1057, allocations: 4 kB / 418.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.1176, allocations: 2.724 MB / 421.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.1178, allocations: 201.2 kB / 421.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.732, allocations: 4 kB / 421.4 MB, free: 0.6953 MB / 350.1 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/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)