Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.0009451/0.0009454, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006129/0.006129, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.452/1.452, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004975/0.0004976, allocations: 14.59 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1908, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005027/0.1959, allocations: 3.724 MB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1984, allocations: 1.567 MB / 0.7932 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.1987, allocations: 4 kB / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1989, allocations: 63.5 kB / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.1995, allocations: 227 kB / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.2001, allocations: 199.7 kB / 0.7936 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.2008, allocations: 0.7675 MB / 0.7944 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.2013, allocations: 438.5 kB / 0.7948 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2016, allocations: 179.3 kB / 0.795 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.202, allocations: 235.1 kB / 0.7952 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.202, allocations: 23.94 kB / 0.7952 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.2023, allocations: 195.6 kB / 0.7954 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2025, allocations: 131.6 kB / 0.7955 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2026, allocations: 192.8 kB / 0.7957 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.2031, allocations: 0.5179 MB / 0.7962 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2031, allocations: 0 / 0.7962 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2031, allocations: 0 / 0.7962 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2032, allocations: 0 / 0.7962 GB, free: 2.977 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009758/0.2041, allocations: 0.6164 MB / 0.7968 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2042, allocations: 8.031 kB / 0.7968 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.673e-05/0.2043, allocations: 82.69 kB / 0.7969 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.205, allocations: 116.4 kB / 0.797 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.2053, allocations: 295.6 kB / 0.7973 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.2054, allocations: 55.27 kB / 0.7974 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.2054, allocations: 32.38 kB / 0.7974 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.2062, allocations: 0.5124 MB / 0.7979 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2062, allocations: 0 / 0.7979 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.2063, allocations: 16 kB / 0.7979 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.2063, allocations: 32.98 kB / 0.7979 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.207, allocations: 391.6 kB / 0.7983 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.2092, allocations: 2.223 MB / 0.8005 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.2099, allocations: 266.6 kB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.2103, allocations: 160.8 kB / 0.8009 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2103, allocations: 3.984 kB / 0.8009 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2103, allocations: 38.56 kB / 0.8009 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.2104, allocations: 0 / 0.8009 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001456/0.2118, allocations: 0.5934 MB / 0.8015 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2119, allocations: 55.39 kB / 0.8016 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.2121, allocations: 225 kB / 0.8018 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.2121, allocations: 33.7 kB / 0.8018 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2122, allocations: 215.6 kB / 0.802 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.2123, allocations: 63.05 kB / 0.8021 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.2124, allocations: 29.7 kB / 0.8021 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2125, allocations: 326.8 kB / 0.8024 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2127, allocations: 91.94 kB / 0.8025 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2129, allocations: 191.1 kB / 0.8027 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.2134, allocations: 281.3 kB / 0.803 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2134, allocations: 7.875 kB / 0.803 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008306/0.2143, allocations: 389.4 kB / 0.8033 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.119e-05/0.2144, allocations: 161.6 kB / 0.8035 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2144, allocations: 4 kB / 0.8035 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.2149, allocations: 109.6 kB / 0.8036 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2151, allocations: 59.84 kB / 0.8036 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.2179, allocations: 2.818 MB / 0.8064 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.2182, allocations: 43.77 kB / 0.8064 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2182, allocations: 8 kB / 0.8065 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.2182, allocations: 4 kB / 0.8065 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007104/0.2189, allocations: 320.6 kB / 0.8068 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.219, allocations: 4 kB / 0.8068 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.2192, allocations: 80.84 kB / 0.8068 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2195, allocations: 59.91 kB / 0.8069 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.2212, allocations: 1.502 MB / 0.8084 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2214, allocations: 31.83 kB / 0.8084 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2214, allocations: 8 kB / 0.8084 GB, free: 5.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.2216, allocations: 253.1 kB / 0.8086 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2217, allocations: 23.66 kB / 0.8087 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.2218, allocations: 30.17 kB / 0.8087 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2218, allocations: 3.938 kB / 0.8087 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2218, allocations: 0 / 0.8087 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2218, allocations: 0 / 0.8087 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.223, allocations: 0.8404 MB / 0.8095 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2231, allocations: 4.062 kB / 0.8095 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2232, allocations: 31.98 kB / 0.8096 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003581/0.2236, allocations: 101.6 kB / 0.8097 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2236, allocations: 0 / 0.8097 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.2261, allocations: 2.81 MB / 0.8124 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2262, allocations: 0 / 0.8124 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.2269, allocations: 441.7 kB / 0.8128 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.227, allocations: 116.7 kB / 0.8129 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.2271, allocations: 8 kB / 0.8129 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2272, allocations: 7.938 kB / 0.8129 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.2273, allocations: 23.97 kB / 0.813 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.2273, allocations: 12 kB / 0.813 GB, free: 400 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001296/0.2274, allocations: 164.5 kB / 0.8131 GB, free: 240 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.352e-06/0.2275, allocations: 0 / 0.8131 GB, free: 240 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000559/0.228, allocations: 171.3 kB / 0.8133 GB, free: 68 kB / 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009724/0.229, allocations: 0.9565 MB / 0.8142 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.2308, allocations: 0.766 MB / 0.815 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2308, allocations: 3.938 kB / 0.815 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/0.2316, allocations: 377.7 kB / 0.8153 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.2321, allocations: 63.03 kB / 0.8154 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.2361, allocations: 3.033 MB / 0.8184 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.2365, allocations: 0.8146 MB / 0.8192 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.2367, allocations: 58.25 kB / 0.8192 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2369, allocations: 87.41 kB / 0.8193 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/0.2369, allocations: 4 kB / 0.8193 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.2543, allocations: 6.625 MB / 0.8258 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.2545, allocations: 237.4 kB / 0.826 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.976, allocations: 3.938 kB / 0.826 GB, free: 2.93 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)