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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001457/0.001457, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.33/2.33, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4883, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004777/0.4931, allocations: 4.116 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.4953, allocations: 1.589 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.4954, allocations: 8 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.4968, allocations: 0.5759 MB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.4972, allocations: 246.8 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.4976, allocations: 211.6 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.4981, allocations: 0.549 MB / 1.025 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.4987, allocations: 472 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.4989, allocations: 231.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.4992, allocations: 251.1 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.4993, allocations: 36 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.4996, allocations: 167.7 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4997, allocations: 151.6 kB / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.4998, allocations: 195.1 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.5003, allocations: 0.5217 MB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5003, allocations: 4 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5003, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5003, allocations: 0 / 1.026 GB, free: 9.145 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.0009576/0.5013, allocations: 0.6749 MB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.5013, allocations: 8.031 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.012e-05/0.5014, allocations: 74.72 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.502, allocations: 108.4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.5023, allocations: 291.6 kB / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.5024, allocations: 59.2 kB / 1.028 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.5024, allocations: 36.38 kB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006691/0.5031, allocations: 0.5007 MB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.5031, allocations: 0 / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.5032, allocations: 23.92 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/0.5032, allocations: 32.98 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.5038, allocations: 375.7 kB / 1.029 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.5058, allocations: 2.208 MB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.5064, allocations: 254.7 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.5067, allocations: 156.8 kB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.5068, allocations: 7.953 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5068, allocations: 38.5 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 1.193e-06/0.5068, allocations: 0 / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001313/0.5081, allocations: 0.565 MB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.5081, allocations: 51.41 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5083, allocations: 232.9 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5084, allocations: 29.7 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.5085, allocations: 211.7 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.5085, allocations: 70.98 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.5086, allocations: 49.7 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.5087, allocations: 334.8 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5089, allocations: 96.73 kB / 1.033 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.5091, allocations: 179.6 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.5095, allocations: 279.1 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5096, allocations: 7.938 kB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007691/0.5103, allocations: 376.7 kB / 1.034 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5104, allocations: 9.562 kB / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5104, allocations: 0 / 1.034 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.5108, allocations: 109.8 kB / 1.034 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.511, allocations: 59.84 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2236/0.7347, allocations: 3.043 MB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.7349, allocations: 35.67 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.7349, allocations: 8 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002698/0.7352, allocations: 224.1 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002428/0.7354, allocations: 176.5 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004122/0.7359, allocations: 275.3 kB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.7359, allocations: 0 / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006904/0.7366, allocations: 349.9 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.7366, allocations: 15.92 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-06/0.7366, allocations: 0 / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.7369, allocations: 76.92 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.7371, allocations: 59.84 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.7388, allocations: 1.609 MB / 1.039 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.7391, allocations: 31.77 kB / 1.039 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.7391, allocations: 16.06 kB / 1.039 GB, free: 10.73 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.000106/0.7392, allocations: 192.3 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.7393, allocations: 27.7 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.7393, allocations: 34.17 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7393, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7393, allocations: 3.938 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7393, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.7405, allocations: 0.8298 MB / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7405, allocations: 0 / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.7406, allocations: 43.97 kB / 1.041 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.741, allocations: 105.6 kB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.741, allocations: 0 / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.7434, allocations: 3.021 MB / 1.044 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7434, allocations: 3.984 kB / 1.044 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.7441, allocations: 411.8 kB / 1.044 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.7442, allocations: 124.7 kB / 1.044 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.7442, allocations: 4 kB / 1.044 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.7444, allocations: 11.98 kB / 1.044 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.7445, allocations: 19.98 kB / 1.044 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.7445, allocations: 11.98 kB / 1.044 GB, free: 5.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001173/0.7446, allocations: 160.5 kB / 1.044 GB, free: 5.336 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7446, allocations: 0 / 1.044 GB, free: 5.336 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005166/0.7451, allocations: 167.4 kB / 1.045 GB, free: 5.172 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.0008836/0.746, allocations: 0.9538 MB / 1.045 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.7477, allocations: 0.7695 MB / 1.046 GB, free: 3.375 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7477, allocations: 11.88 kB / 1.046 GB, free: 3.363 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.7484, allocations: 374 kB / 1.047 GB, free: 2.973 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.7488, allocations: 63.67 kB / 1.047 GB, free: 2.91 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.7521, allocations: 2.838 MB / 1.049 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.7524, allocations: 0.8068 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.7526, allocations: 54.25 kB / 1.05 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.7527, allocations: 91.34 kB / 1.05 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.7527, allocations: 0 / 1.05 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.669/2.422, allocations: 7.213 MB / 1.057 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/18.52, allocations: 27.7 kB / 1.057 GB, free: 7.848 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