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.521/1.521, allocations: 252 MB / 267 MB, free: 10.99 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.001261/0.001261, allocations: 178.9 kB / 326.6 MB, free: 2.258 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.961/1.961, allocations: 205.4 MB / 0.5776 GB, free: 20.33 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.000894/0.000894, allocations: 79.83 kB / 0.6822 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 14.09 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2272, allocations: 106.4 MB / 0.9003 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004291/0.2315, allocations: 3.577 MB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2344, allocations: 1.513 MB / 0.9053 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2346, allocations: 4 kB / 0.9053 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.2349, allocations: 63.5 kB / 0.9053 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.2354, allocations: 191.1 kB / 0.9055 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2359, allocations: 159.7 kB / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000524/0.2364, allocations: 0.6231 MB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.2369, allocations: 385.7 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.2371, allocations: 183.3 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.2375, allocations: 231.2 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2375, allocations: 19.94 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.2377, allocations: 83.89 kB / 0.9071 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2378, allocations: 127.7 kB / 0.9073 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.2379, allocations: 93.52 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.2382, allocations: 395.2 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2382, allocations: 0 / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2383, allocations: 0 / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2383, allocations: 4 kB / 0.9077 GB, free: 56.2 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.0009898/0.2393, allocations: 0.6123 MB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2393, allocations: 15.97 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.2394, allocations: 74.52 kB / 0.9084 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006384/0.24, allocations: 111.4 kB / 0.9085 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2404, allocations: 298.4 kB / 0.9088 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.2404, allocations: 50.7 kB / 0.9089 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.2405, allocations: 35.98 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.2412, allocations: 0.5008 MB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.2413, allocations: 3.938 kB / 0.9094 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.2413, allocations: 12 kB / 0.9094 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.2414, allocations: 40.92 kB / 0.9094 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.242, allocations: 383.7 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2438, allocations: 2.22 MB / 0.912 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.2444, allocations: 256.1 kB / 0.9122 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.2448, allocations: 160.8 kB / 0.9124 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2448, allocations: 4 kB / 0.9124 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2449, allocations: 46.5 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.2449, allocations: 0 / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001374/0.2463, allocations: 0.5893 MB / 0.913 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.2463, allocations: 51.41 kB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.2465, allocations: 229 kB / 0.9133 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2465, allocations: 33.7 kB / 0.9133 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.2466, allocations: 215.6 kB / 0.9135 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2467, allocations: 67.03 kB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.2467, allocations: 4 kB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2467, allocations: 326.8 kB / 0.9139 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2469, allocations: 91.94 kB / 0.914 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.2472, allocations: 187 kB / 0.9141 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.2474, allocations: 123.9 kB / 0.9143 GB, free: 49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2474, allocations: 4 kB / 0.9143 GB, free: 49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007685/0.2482, allocations: 382.8 kB / 0.9146 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.2483, allocations: 163.5 kB / 0.9148 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2483, allocations: 4 kB / 0.9148 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.2488, allocations: 121.5 kB / 0.9149 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.249, allocations: 51.91 kB / 0.915 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.2515, allocations: 2.822 MB / 0.9177 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2517, allocations: 35.73 kB / 0.9177 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.2518, allocations: 8 kB / 0.9178 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.2518, allocations: 4 kB / 0.9178 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006566/0.2524, allocations: 308.4 kB / 0.9181 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2525, allocations: 4 kB / 0.9181 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.2527, allocations: 81.09 kB / 0.9181 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.253, allocations: 55.91 kB / 0.9182 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.2544, allocations: 1.509 MB / 0.9197 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.2546, allocations: 27.83 kB / 0.9197 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2547, allocations: 19.98 kB / 0.9197 GB, free: 42.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.2548, allocations: 245.1 kB / 0.9199 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2549, allocations: 23.72 kB / 0.92 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.255, allocations: 30.17 kB / 0.92 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.255, allocations: 4 kB / 0.92 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.255, allocations: 3.953 kB / 0.92 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.255, allocations: 0 / 0.92 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2561, allocations: 0.8443 MB / 0.9208 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2561, allocations: 0 / 0.9208 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.2563, allocations: 43.91 kB / 0.9209 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.2566, allocations: 97.69 kB / 0.921 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2566, allocations: 8 kB / 0.921 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.2587, allocations: 2.792 MB / 0.9237 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2587, allocations: 7.953 kB / 0.9237 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.2593, allocations: 427.8 kB / 0.9241 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.2594, allocations: 116.8 kB / 0.9242 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.2595, allocations: 11.89 kB / 0.9242 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.2596, allocations: 15.98 kB / 0.9242 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.2597, allocations: 19.97 kB / 0.9243 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.2597, allocations: 8 kB / 0.9243 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001181/0.2599, allocations: 164.5 kB / 0.9244 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2599, allocations: 0 / 0.9244 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005608/0.2604, allocations: 167.4 kB / 0.9246 GB, free: 37.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000853/0.2613, allocations: 0.9633 MB / 0.9255 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.2629, allocations: 0.7582 MB / 0.9263 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2629, allocations: 4 kB / 0.9263 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.2636, allocations: 373.7 kB / 0.9266 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.264, allocations: 58.3 kB / 0.9267 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.2663, allocations: 1.683 MB / 0.9283 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.2665, allocations: 0.8068 MB / 0.9291 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.2667, allocations: 54.25 kB / 0.9292 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2669, allocations: 95.39 kB / 0.9293 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.2669, allocations: 0 / 0.9293 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.2844, allocations: 6.561 MB / 0.9357 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.2846, allocations: 228.5 kB / 0.9359 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.106, allocations: 0 / 0.9359 GB, free: 25.97 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)