Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Resistor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor",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.001464/0.001464, allocations: 108 kB / 15.6 MB, free: 128 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.001281/0.001281, allocations: 196.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.67 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1768, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004646/0.1815, allocations: 3.821 MB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1836, allocations: 1.726 MB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1837, allocations: 4 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1848, allocations: 0.4895 MB / 0.7894 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1852, allocations: 222.9 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1856, allocations: 215.5 kB / 0.7898 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.186, allocations: 474.4 kB / 0.7902 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.1864, allocations: 361.4 kB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1866, allocations: 191.4 kB / 0.7908 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1869, allocations: 215.2 kB / 0.791 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.187, allocations: 28 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1873, allocations: 243.4 kB / 0.7912 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1874, allocations: 131.7 kB / 0.7914 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1876, allocations: 179.1 kB / 0.7915 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.188, allocations: 498.5 kB / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.188, allocations: 0 / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.188, allocations: 0 / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.188, allocations: 0 / 0.792 GB, free: 4.602 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007787/0.1888, allocations: 0.6354 MB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1889, allocations: 12.03 kB / 0.7926 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.84e-05/0.1889, allocations: 70.72 kB / 0.7927 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/0.1897, allocations: 128.3 kB / 0.7928 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.19, allocations: 291.6 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.1901, allocations: 21.03 kB / 0.7931 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1901, allocations: 28.38 kB / 0.7932 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.1906, allocations: 463.7 kB / 0.7936 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1907, allocations: 7.938 kB / 0.7936 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.1907, allocations: 12 kB / 0.7936 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/0.1907, allocations: 28.53 kB / 0.7936 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.1912, allocations: 325.9 kB / 0.794 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1929, allocations: 2.185 MB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.1933, allocations: 259.8 kB / 0.7963 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.1935, allocations: 108.8 kB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1935, allocations: 0 / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1935, allocations: 34.56 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.1935, allocations: 3.938 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0004787/0.194, allocations: 303.2 kB / 0.7968 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1941, allocations: 55.41 kB / 0.7968 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1943, allocations: 266.5 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1943, allocations: 29.7 kB / 0.7971 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1944, allocations: 207.7 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1945, allocations: 47.27 kB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.1945, allocations: 53.94 kB / 0.7974 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1946, allocations: 334.8 kB / 0.7977 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.1947, allocations: 56.44 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1949, allocations: 148.4 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1951, allocations: 219.2 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1951, allocations: 0 / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003634/0.1955, allocations: 269.8 kB / 0.7984 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1955, allocations: 8 kB / 0.7984 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1955, allocations: 4 kB / 0.7984 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.1956, allocations: 24.84 kB / 0.7984 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1958, allocations: 52.3 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009277/0.1967, allocations: 1.418 MB / 0.7998 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1969, allocations: 27.69 kB / 0.7999 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.1969, allocations: 15.98 kB / 0.7999 GB, free: 11.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1971, allocations: 170.9 kB / 0.8001 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1971, allocations: 31.69 kB / 0.8001 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1972, allocations: 25.84 kB / 0.8001 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1972, allocations: 4.062 kB / 0.8001 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1972, allocations: 0 / 0.8001 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1972, allocations: 7.984 kB / 0.8001 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/0.198, allocations: 0.7024 MB / 0.8008 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.198, allocations: 4 kB / 0.8008 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.1981, allocations: 27.98 kB / 0.8008 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.768e-05/0.1981, allocations: 20.78 kB / 0.8009 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1982, allocations: 8 kB / 0.8009 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000898/0.1991, allocations: 1.414 MB / 0.8022 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1991, allocations: 7.969 kB / 0.8022 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1994, allocations: 327.4 kB / 0.8026 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.1995, allocations: 112.8 kB / 0.8027 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1995, allocations: 8 kB / 0.8027 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1997, allocations: 11.98 kB / 0.8027 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1997, allocations: 19.92 kB / 0.8027 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/0.1997, allocations: 4 kB / 0.8027 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000159/0.1999, allocations: 190 kB / 0.8029 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1999, allocations: 0 / 0.8029 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003277/0.2002, allocations: 75.75 kB / 0.803 GB, free: 8.402 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.2007, allocations: 0.8545 MB / 0.8038 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.2011, allocations: 278.8 kB / 0.8041 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2011, allocations: 0 / 0.8041 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2013, allocations: 186.5 kB / 0.8042 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.2017, allocations: 50.44 kB / 0.8043 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.2043, allocations: 2.729 MB / 0.807 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2046, allocations: 0.7907 MB / 0.8077 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.2047, allocations: 46.25 kB / 0.8078 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.2049, allocations: 87.41 kB / 0.8079 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2049, allocations: 0 / 0.8079 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5682/0.773, allocations: 5.265 MB / 0.813 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.684/10.46, allocations: 12.86 kB / 0.813 GB, free: 13.93 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)