Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_11_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.005329/0.005329, allocations: 99.11 kB / 15.73 MB, free: 6.043 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.001438/0.001438, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 67.84 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2578, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005137/0.263, allocations: 4.103 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.2651, allocations: 1.593 MB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2652, allocations: 8 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2666, allocations: 0.5914 MB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.267, allocations: 230.9 kB / 1.227 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2674, allocations: 215.5 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.268, allocations: 0.553 MB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.2686, allocations: 473.7 kB / 1.228 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2688, allocations: 227.3 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.2692, allocations: 251.1 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.791e-05/0.2693, allocations: 36 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.2695, allocations: 163.7 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2697, allocations: 147.6 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.2699, allocations: 199 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.2704, allocations: 0.5254 MB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2704, allocations: 4 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2704, allocations: 0 / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2704, allocations: 0 / 1.229 GB, free: 5.039 MB / 0.9825 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.001057/0.2715, allocations: 0.6898 MB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.2715, allocations: 12.03 kB / 1.23 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.934e-05/0.2716, allocations: 82.69 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.2723, allocations: 108.6 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2726, allocations: 304.3 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.2727, allocations: 59.25 kB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.2728, allocations: 28.38 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.2735, allocations: 0.5085 MB / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2735, allocations: 0 / 1.231 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.2736, allocations: 16 kB / 1.231 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.2736, allocations: 28.98 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.2743, allocations: 383.6 kB / 1.231 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.2765, allocations: 2.204 MB / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.2772, allocations: 260.5 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2775, allocations: 148.8 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2776, allocations: 7.984 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2776, allocations: 38.52 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.2776, allocations: 0 / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001417/0.279, allocations: 0.5635 MB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2791, allocations: 59.41 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.2793, allocations: 228.9 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2794, allocations: 33.7 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2795, allocations: 208.2 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.2796, allocations: 71.42 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.62e-05/0.2797, allocations: 57.59 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2798, allocations: 334.8 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.2801, allocations: 96.8 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2803, allocations: 188.1 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.2808, allocations: 272.4 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2808, allocations: 3.938 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008479/0.2817, allocations: 378.7 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2817, allocations: 4 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2817, allocations: 4 kB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/0.2822, allocations: 113.9 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2824, allocations: 51.84 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/0.307, allocations: 3.051 MB / 1.239 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.3073, allocations: 31.83 kB / 1.24 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3073, allocations: 12 kB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003029/0.3076, allocations: 216 kB / 1.24 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002595/0.3079, allocations: 179.2 kB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004529/0.3083, allocations: 271.1 kB / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.3084, allocations: 0 / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007752/0.3091, allocations: 359.6 kB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3092, allocations: 5.875 kB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3092, allocations: 8 kB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3095, allocations: 80.91 kB / 1.241 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.3097, allocations: 55.91 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.3116, allocations: 1.613 MB / 1.242 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3119, allocations: 31.81 kB / 1.242 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3119, allocations: 16 kB / 1.242 GB, free: 6.59 MB / 0.9981 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.0001179/0.312, allocations: 192.2 kB / 1.242 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.3121, allocations: 27.92 kB / 1.242 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.3121, allocations: 30.17 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3121, allocations: 0 / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3121, allocations: 7.938 kB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3122, allocations: 0 / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3134, allocations: 0.8212 MB / 1.243 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3135, allocations: 0 / 1.243 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3136, allocations: 31.98 kB / 1.243 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003551/0.314, allocations: 109.7 kB / 1.243 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.314, allocations: 7.984 kB / 1.243 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.3169, allocations: 3.02 MB / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3169, allocations: 0 / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.3176, allocations: 423.3 kB / 1.247 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3177, allocations: 124.8 kB / 1.247 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.3178, allocations: 8 kB / 1.247 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3179, allocations: 12 kB / 1.247 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.318, allocations: 19.97 kB / 1.247 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.318, allocations: 4 kB / 1.247 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001368/0.3182, allocations: 164.5 kB / 1.247 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3182, allocations: 0 / 1.247 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005195/0.3187, allocations: 175.5 kB / 1.247 GB, free: 1.016 MB / 0.9981 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.001017/0.3197, allocations: 0.9503 MB / 1.248 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4372/0.757, allocations: 0.7536 MB / 1.249 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.757, allocations: 1.719 kB / 1.249 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.7577, allocations: 365.6 kB / 1.249 GB, free: 29.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.7582, allocations: 60.22 kB / 1.249 GB, free: 29.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.7615, allocations: 2.85 MB / 1.252 GB, free: 27.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7617, allocations: 0.8123 MB / 1.253 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.7619, allocations: 55.22 kB / 1.253 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.762, allocations: 88.41 kB / 1.253 GB, free: 26.88 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.762, allocations: 1.156 kB / 1.253 GB, free: 26.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.387/2.149, allocations: 7.389 MB / 1.26 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.5/22.64, allocations: 7.719 kB / 1.26 GB, free: 26.26 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat