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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001462/0.001462, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.358/2.358, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5093, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004778/0.5142, allocations: 4.144 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.5161, allocations: 1.589 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.5163, allocations: 12 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5175, allocations: 0.549 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.5179, allocations: 223 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.5183, allocations: 189 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.5189, allocations: 0.7831 MB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.5193, allocations: 312.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.5194, allocations: 199.3 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.5198, allocations: 259.1 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.5198, allocations: 28 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.5201, allocations: 199.6 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.5203, allocations: 151.5 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.5204, allocations: 183.1 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.5209, allocations: 0.5256 MB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5209, allocations: 0 / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5209, allocations: 4 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5209, allocations: 0 / 1.026 GB, free: 9.402 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.00101/0.522, allocations: 0.6787 MB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.522, allocations: 8.031 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.5221, allocations: 74.72 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.5227, allocations: 108.4 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.523, allocations: 300.2 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/0.5231, allocations: 51.27 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.5232, allocations: 32.36 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.5239, allocations: 0.5085 MB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.524, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.524, allocations: 19.98 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.524, allocations: 28.98 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.5247, allocations: 379.7 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.5268, allocations: 2.204 MB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.5275, allocations: 266.6 kB / 1.03 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.5278, allocations: 144.8 kB / 1.03 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.5278, allocations: 8 kB / 1.03 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.5279, allocations: 38.52 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.5279, allocations: 4 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001411/0.5293, allocations: 0.5579 MB / 1.031 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.5293, allocations: 59.36 kB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5295, allocations: 228.9 kB / 1.031 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5295, allocations: 33.7 kB / 1.031 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5297, allocations: 211.7 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.5297, allocations: 70.98 kB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.5298, allocations: 49.7 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.5299, allocations: 330.8 kB / 1.032 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.5301, allocations: 96.8 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.5304, allocations: 187 kB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.5308, allocations: 269.3 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5308, allocations: 3.938 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008453/0.5317, allocations: 384 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5317, allocations: 4 kB / 1.033 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.5317, allocations: 4 kB / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.5322, allocations: 105.8 kB / 1.033 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.5324, allocations: 55.78 kB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2508/0.7832, allocations: 2.83 MB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.7836, allocations: 31.73 kB / 1.036 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.7837, allocations: 12 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004693/0.7842, allocations: 220.1 kB / 1.036 GB, free: 14.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003642/0.7845, allocations: 175.6 kB / 1.036 GB, free: 13.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006639/0.7852, allocations: 271 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.229e-06/0.7852, allocations: 3.938 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001035/0.7863, allocations: 355.5 kB / 1.037 GB, free: 13.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7863, allocations: 4 kB / 1.037 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7863, allocations: 11.88 kB / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.7867, allocations: 80.94 kB / 1.037 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.787, allocations: 55.91 kB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.7886, allocations: 1.505 MB / 1.038 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.7889, allocations: 27.83 kB / 1.038 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.7889, allocations: 12 kB / 1.038 GB, free: 11.34 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.0001129/0.789, allocations: 196.3 kB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.7891, allocations: 31.66 kB / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.7891, allocations: 34.17 kB / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7891, allocations: 0 / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7891, allocations: 0 / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7891, allocations: 0 / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.7903, allocations: 0.8247 MB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7904, allocations: 0 / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.7905, allocations: 35.97 kB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.7909, allocations: 105.7 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7909, allocations: 4 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.7933, allocations: 2.806 MB / 1.042 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7933, allocations: 0 / 1.042 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.794, allocations: 418.5 kB / 1.043 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.7941, allocations: 112.8 kB / 1.043 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.7941, allocations: 7.938 kB / 1.043 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.7943, allocations: 15.98 kB / 1.043 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.7944, allocations: 20.05 kB / 1.043 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.7944, allocations: 16 kB / 1.043 GB, free: 6.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001253/0.7945, allocations: 164.5 kB / 1.043 GB, free: 6.164 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7945, allocations: 0 / 1.043 GB, free: 6.164 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005344/0.7951, allocations: 167.4 kB / 1.043 GB, free: 6 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.0009208/0.796, allocations: 0.951 MB / 1.044 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.7976, allocations: 0.7566 MB / 1.045 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7976, allocations: 0 / 1.045 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.7983, allocations: 371.2 kB / 1.045 GB, free: 3.836 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.7987, allocations: 64.5 kB / 1.045 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.8022, allocations: 2.949 MB / 1.048 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.8025, allocations: 0.8223 MB / 1.049 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.8027, allocations: 62.23 kB / 1.049 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.8029, allocations: 87.34 kB / 1.049 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.8029, allocations: 4 kB / 1.049 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.451/3.254, allocations: 6.739 MB / 1.056 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/3.254, allocations: 233 kB / 1.056 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/5.592, allocations: 7.938 kB / 1.056 GB, free: 8.832 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