Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.0008964/0.0008964, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005708/0.005708, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005235, allocations: 20.91 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1861, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003875/0.19, allocations: 3.51 MB / 0.7914 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1922, allocations: 1.739 MB / 0.7931 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1924, allocations: 7.938 kB / 0.7931 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.1926, allocations: 55.56 kB / 0.7932 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.193, allocations: 247 kB / 0.7934 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.1935, allocations: 227.6 kB / 0.7936 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.1942, allocations: 0.6973 MB / 0.7943 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.1946, allocations: 365.5 kB / 0.7947 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1948, allocations: 151.4 kB / 0.7948 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.1951, allocations: 227.1 kB / 0.795 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1951, allocations: 16 kB / 0.795 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.1955, allocations: 223.5 kB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1956, allocations: 111.7 kB / 0.7954 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1957, allocations: 188.8 kB / 0.7955 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004535/0.1962, allocations: 490.5 kB / 0.796 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1962, allocations: 0 / 0.796 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1962, allocations: 3.938 kB / 0.796 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1962, allocations: 0 / 0.796 GB, free: 3.199 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009233/0.1972, allocations: 0.6082 MB / 0.7966 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1972, allocations: 8.031 kB / 0.7966 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.937e-05/0.1973, allocations: 70.72 kB / 0.7967 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005192/0.1978, allocations: 88.41 kB / 0.7968 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1981, allocations: 295.3 kB / 0.797 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1982, allocations: 25.02 kB / 0.7971 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1982, allocations: 28.38 kB / 0.7971 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.199, allocations: 497.8 kB / 0.7976 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.199, allocations: 3.984 kB / 0.7976 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1991, allocations: 15.98 kB / 0.7976 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.1991, allocations: 40.62 kB / 0.7976 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.1999, allocations: 390.2 kB / 0.798 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2018, allocations: 2.048 MB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.2024, allocations: 222.7 kB / 0.8002 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.2028, allocations: 168.8 kB / 0.8004 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.2028, allocations: 4 kB / 0.8004 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2029, allocations: 30.56 kB / 0.8004 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.2029, allocations: 4 kB / 0.8004 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001094/0.204, allocations: 451.1 kB / 0.8008 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.204, allocations: 71.23 kB / 0.8009 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.2043, allocations: 258.7 kB / 0.8012 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2043, allocations: 25.7 kB / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2044, allocations: 215.7 kB / 0.8014 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.2045, allocations: 63.05 kB / 0.8014 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.2045, allocations: 29.7 kB / 0.8015 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2047, allocations: 338.8 kB / 0.8018 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2049, allocations: 104.5 kB / 0.8019 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2053, allocations: 218.6 kB / 0.8021 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.2059, allocations: 329.4 kB / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2059, allocations: 0 / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007811/0.2067, allocations: 382 kB / 0.8028 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.2068, allocations: 200.9 kB / 0.803 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2068, allocations: 7.984 kB / 0.803 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.207, allocations: 28.84 kB / 0.803 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2073, allocations: 75.89 kB / 0.8031 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.2084, allocations: 1.331 MB / 0.8044 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.2087, allocations: 47.67 kB / 0.8044 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2087, allocations: 12 kB / 0.8044 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/0.2087, allocations: 8.094 kB / 0.8044 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005978/0.2093, allocations: 299.6 kB / 0.8047 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2093, allocations: 4 kB / 0.8047 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.445e-06/0.2093, allocations: 11.94 kB / 0.8047 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.2096, allocations: 80.12 kB / 0.8048 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2096, allocations: 11.92 kB / 0.8048 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2098, allocations: 39.73 kB / 0.8049 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2099, allocations: 16 kB / 0.8049 GB, free: 9.387 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.21, allocations: 249 kB / 0.8051 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.2101, allocations: 23.72 kB / 0.8051 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.2102, allocations: 38.11 kB / 0.8052 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2102, allocations: 4 kB / 0.8052 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2102, allocations: 0 / 0.8052 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2102, allocations: 0 / 0.8052 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.2114, allocations: 0.7771 MB / 0.8059 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2114, allocations: 0 / 0.8059 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.2116, allocations: 39.97 kB / 0.806 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.2117, allocations: 28.84 kB / 0.806 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2117, allocations: 3.984 kB / 0.806 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.2126, allocations: 1.319 MB / 0.8073 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2126, allocations: 8.094 kB / 0.8073 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.2132, allocations: 380.6 kB / 0.8077 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.2133, allocations: 120.8 kB / 0.8078 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2134, allocations: 3.938 kB / 0.8078 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2135, allocations: 23.98 kB / 0.8078 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2136, allocations: 23.95 kB / 0.8078 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2136, allocations: 4 kB / 0.8078 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001507/0.2138, allocations: 182 kB / 0.808 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2138, allocations: 0 / 0.808 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005248/0.2143, allocations: 151.4 kB / 0.8082 GB, free: 5.766 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009066/0.2152, allocations: 0.9253 MB / 0.8091 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.2163, allocations: 0.5099 MB / 0.8096 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2163, allocations: 0.5 kB / 0.8096 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.2166, allocations: 234.5 kB / 0.8098 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2171, allocations: 64.64 kB / 0.8098 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.2207, allocations: 3.08 MB / 0.8129 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.221, allocations: 0.8035 MB / 0.8136 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.2212, allocations: 74.2 kB / 0.8137 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.2214, allocations: 87.41 kB / 0.8138 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2214, allocations: 0 / 0.8138 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.2373, allocations: 5.721 MB / 0.8194 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.2375, allocations: 236.8 kB / 0.8196 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.907, allocations: 0 / 0.8196 GB, free: 9.926 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)