Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_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.0007249/0.0007249, allocations: 90.28 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.004558/0.004558, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5824, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00513/0.5876, allocations: 3.751 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.5905, allocations: 1.566 MB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.5908, allocations: 7.938 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.591, allocations: 59.5 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.5917, allocations: 219.1 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.5923, allocations: 203.4 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009119/0.5932, allocations: 0.7791 MB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.5938, allocations: 438.4 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.5941, allocations: 179.3 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.5946, allocations: 243.1 kB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.5946, allocations: 20 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.595, allocations: 187.6 kB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.5951, allocations: 135.6 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.5954, allocations: 196.8 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.5959, allocations: 0.5082 MB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5959, allocations: 3.938 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5959, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.5959, allocations: 0 / 1.031 GB, free: 7.312 MB / 0.7794 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.001075/0.597, allocations: 0.6242 MB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5971, allocations: 8.031 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.976e-05/0.5972, allocations: 74.72 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006986/0.5979, allocations: 116.4 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.5983, allocations: 304.1 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.5983, allocations: 55.27 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.5984, allocations: 32.36 kB / 1.033 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.5992, allocations: 0.5124 MB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5993, allocations: 0 / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.5993, allocations: 19.98 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.5994, allocations: 28.98 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.6001, allocations: 391.7 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.6025, allocations: 2.204 MB / 1.036 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.6032, allocations: 266.6 kB / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.6035, allocations: 164.7 kB / 1.036 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.6036, allocations: 7.953 kB / 1.036 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.6036, allocations: 34.56 kB / 1.036 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.6036, allocations: 0 / 1.036 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001451/0.6051, allocations: 0.5885 MB / 1.037 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6051, allocations: 55.41 kB / 1.037 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.6053, allocations: 229 kB / 1.037 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6054, allocations: 33.7 kB / 1.037 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.6055, allocations: 207.6 kB / 1.037 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.6055, allocations: 71.08 kB / 1.037 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.6056, allocations: 29.7 kB / 1.037 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6057, allocations: 326.8 kB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.6059, allocations: 91.94 kB / 1.038 GB, free: 420 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.6062, allocations: 195 kB / 1.038 GB, free: 184 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.6067, allocations: 278.6 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6067, allocations: 7.938 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008667/0.6076, allocations: 388.5 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.6077, allocations: 169.6 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6077, allocations: 4 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.6081, allocations: 101.6 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.6084, allocations: 59.91 kB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.6112, allocations: 2.822 MB / 1.042 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.6115, allocations: 43.83 kB / 1.042 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.6115, allocations: 15.94 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.6115, allocations: 4 kB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007277/0.6123, allocations: 318.3 kB / 1.042 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.6123, allocations: 0 / 1.042 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.6126, allocations: 80.91 kB / 1.042 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.6128, allocations: 59.91 kB / 1.042 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.6146, allocations: 1.506 MB / 1.044 GB, free: 9.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.6148, allocations: 23.84 kB / 1.044 GB, free: 9.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.6148, allocations: 11.94 kB / 1.044 GB, free: 9.828 MB / 0.795 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.0001947/0.6151, allocations: 253.8 kB / 1.044 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.6151, allocations: 23.72 kB / 1.044 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.6152, allocations: 30.17 kB / 1.044 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.6152, allocations: 7.938 kB / 1.044 GB, free: 9.508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6152, allocations: 3.938 kB / 1.044 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6152, allocations: 0 / 1.044 GB, free: 9.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6165, allocations: 0.8376 MB / 1.045 GB, free: 8.586 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.6165, allocations: 8 kB / 1.045 GB, free: 8.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.6167, allocations: 32.05 kB / 1.045 GB, free: 8.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.6171, allocations: 109.6 kB / 1.045 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6171, allocations: 0 / 1.045 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.6197, allocations: 2.81 MB / 1.048 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6198, allocations: 0 / 1.048 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.6205, allocations: 426.6 kB / 1.048 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6207, allocations: 124.7 kB / 1.048 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.6207, allocations: 4 kB / 1.048 GB, free: 4.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6209, allocations: 11.94 kB / 1.048 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.621, allocations: 19.97 kB / 1.048 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.621, allocations: 4 kB / 1.048 GB, free: 4.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000136/0.6211, allocations: 168.5 kB / 1.048 GB, free: 4.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 0 / 1.048 GB, free: 4.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000568/0.6217, allocations: 171.4 kB / 1.048 GB, free: 4.402 MB / 0.795 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.001042/0.6227, allocations: 0.9602 MB / 1.049 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.6246, allocations: 0.7678 MB / 1.05 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6246, allocations: 0 / 1.05 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.6254, allocations: 377.7 kB / 1.051 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.6258, allocations: 54.34 kB / 1.051 GB, free: 2.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.6297, allocations: 3.026 MB / 1.054 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6301, allocations: 0.8107 MB / 1.054 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.6302, allocations: 50.25 kB / 1.054 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.6304, allocations: 91.41 kB / 1.054 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.6304, allocations: 0 / 1.054 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.6484, allocations: 6.618 MB / 1.061 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.6486, allocations: 238.5 kB / 1.061 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.376, allocations: 0 / 1.061 GB, free: 7.301 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat