Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.2 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008981/0.000898, allocations: 86.36 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 12.38 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2158, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003798/0.2197, allocations: 3.727 MB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2221, allocations: 1.582 MB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.2223, allocations: 7.938 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2226, allocations: 63.48 kB / 0.9062 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.2231, allocations: 223.1 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.2237, allocations: 195.6 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.2242, allocations: 0.7715 MB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.2247, allocations: 442.4 kB / 0.9077 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.2248, allocations: 179.3 kB / 0.9079 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.2252, allocations: 243.1 kB / 0.9081 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.2252, allocations: 20 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2255, allocations: 199.6 kB / 0.9084 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2257, allocations: 127.6 kB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2258, allocations: 196.8 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.2262, allocations: 0.5024 MB / 0.9092 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2262, allocations: 0 / 0.9092 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2262, allocations: 0 / 0.9092 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2262, allocations: 0 / 0.9092 GB, free: 54.91 MB / 0.6042 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.0009695/0.2272, allocations: 0.6281 MB / 0.9098 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2273, allocations: 12.03 kB / 0.9098 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.194e-05/0.2274, allocations: 74.66 kB / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.228, allocations: 112.4 kB / 0.91 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.2283, allocations: 291.6 kB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.2284, allocations: 55.27 kB / 0.9103 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.2285, allocations: 36.36 kB / 0.9103 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.2292, allocations: 0.5163 MB / 0.9108 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2292, allocations: 3.938 kB / 0.9108 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.2292, allocations: 19.98 kB / 0.9108 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.2293, allocations: 24.98 kB / 0.9109 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005792/0.2299, allocations: 391.7 kB / 0.9112 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.2317, allocations: 2.216 MB / 0.9134 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.2324, allocations: 270.6 kB / 0.9137 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.2327, allocations: 159 kB / 0.9138 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2327, allocations: 0 / 0.9138 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2328, allocations: 38.56 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.2328, allocations: 0 / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001334/0.2341, allocations: 0.5906 MB / 0.9144 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.2342, allocations: 51.41 kB / 0.9145 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2343, allocations: 236.9 kB / 0.9147 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.2344, allocations: 29.7 kB / 0.9147 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.2345, allocations: 207.7 kB / 0.9149 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.2345, allocations: 67.08 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.2346, allocations: 8 kB / 0.915 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.2346, allocations: 330.8 kB / 0.9153 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2348, allocations: 91.94 kB / 0.9154 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.2351, allocations: 187 kB / 0.9156 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.2355, allocations: 283.6 kB / 0.9159 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2355, allocations: 7.938 kB / 0.9159 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007502/0.2363, allocations: 386.9 kB / 0.9162 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/0.2364, allocations: 163.3 kB / 0.9164 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2364, allocations: 4 kB / 0.9164 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.2369, allocations: 105.6 kB / 0.9165 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2371, allocations: 55.91 kB / 0.9165 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.2394, allocations: 2.832 MB / 0.9193 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2397, allocations: 39.92 kB / 0.9194 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.2397, allocations: 8 kB / 0.9194 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.2398, allocations: 4 kB / 0.9194 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006564/0.2404, allocations: 316.6 kB / 0.9197 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.2404, allocations: 0 / 0.9197 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.2407, allocations: 80.91 kB / 0.9197 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2409, allocations: 55.91 kB / 0.9198 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.2424, allocations: 1.503 MB / 0.9213 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.2426, allocations: 31.73 kB / 0.9213 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2427, allocations: 8 kB / 0.9213 GB, free: 41.46 MB / 0.6042 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.0002223/0.2429, allocations: 249.1 kB / 0.9215 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.2429, allocations: 23.81 kB / 0.9216 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.243, allocations: 26.17 kB / 0.9216 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.243, allocations: 7.938 kB / 0.9216 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.243, allocations: 0 / 0.9216 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.243, allocations: 4 kB / 0.9216 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.2442, allocations: 0.8442 MB / 0.9224 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2442, allocations: 4.062 kB / 0.9224 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.2444, allocations: 35.92 kB / 0.9225 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.2447, allocations: 105.6 kB / 0.9226 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2447, allocations: 7.922 kB / 0.9226 GB, free: 40.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.2468, allocations: 2.81 MB / 0.9253 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2468, allocations: 0 / 0.9253 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.2475, allocations: 424.4 kB / 0.9257 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.2476, allocations: 120.8 kB / 0.9258 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.2476, allocations: 4 kB / 0.9258 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.2478, allocations: 15.92 kB / 0.9259 GB, free: 36.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2478, allocations: 19.97 kB / 0.9259 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2479, allocations: 12 kB / 0.9259 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000112/0.248, allocations: 160.5 kB / 0.926 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 0.926 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005727/0.2486, allocations: 167.3 kB / 0.9262 GB, free: 36.04 MB / 0.6042 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.0008345/0.2494, allocations: 0.9654 MB / 0.9271 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.251, allocations: 0.7685 MB / 0.9279 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2511, allocations: 0 / 0.9279 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/0.2517, allocations: 376.3 kB / 0.9282 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.2522, allocations: 48.62 kB / 0.9283 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2556, allocations: 3.028 MB / 0.9312 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2559, allocations: 0.8145 MB / 0.932 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.2561, allocations: 62.23 kB / 0.9321 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.2562, allocations: 91.41 kB / 0.9322 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2562, allocations: 0 / 0.9322 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.2748, allocations: 6.65 MB / 0.9387 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.275, allocations: 243.9 kB / 0.9389 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.359, allocations: 0 / 0.9389 GB, free: 22.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)