Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007646/0.0007646, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004695/0.004695, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 278.6 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 12.66 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004369/0.1697, allocations: 3.729 MB / 0.6889 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.172, allocations: 1.568 MB / 0.6904 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1721, allocations: 12.94 kB / 0.6904 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.1723, allocations: 71.42 kB / 0.6905 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.1728, allocations: 214.5 kB / 0.6907 GB, free: 9.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.1733, allocations: 196.2 kB / 0.6909 GB, free: 9.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1739, allocations: 0.772 MB / 0.6916 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004918/0.1744, allocations: 449.6 kB / 0.6921 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.1747, allocations: 187.2 kB / 0.6922 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.175, allocations: 231.1 kB / 0.6925 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.1751, allocations: 20 kB / 0.6925 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.1754, allocations: 199.6 kB / 0.6927 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1755, allocations: 135.6 kB / 0.6928 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1757, allocations: 196.8 kB / 0.693 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1762, allocations: 0.5022 MB / 0.6935 GB, free: 6.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1762, allocations: 0 / 0.6935 GB, free: 6.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1762, allocations: 0 / 0.6935 GB, free: 6.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1762, allocations: 0 / 0.6935 GB, free: 6.5 MB / 494.1 MB 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.001028/0.1773, allocations: 0.6242 MB / 0.6941 GB, free: 5.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1773, allocations: 16.02 kB / 0.6941 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.108e-05/0.1774, allocations: 74.66 kB / 0.6942 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.1781, allocations: 108.4 kB / 0.6943 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1784, allocations: 303.6 kB / 0.6946 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.1785, allocations: 51.27 kB / 0.6946 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1786, allocations: 32.38 kB / 0.6946 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.1794, allocations: 0.5124 MB / 0.6951 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1794, allocations: 3.984 kB / 0.6951 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.1794, allocations: 12 kB / 0.6952 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.1795, allocations: 28.98 kB / 0.6952 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.1802, allocations: 387.7 kB / 0.6956 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.1826, allocations: 2.231 MB / 0.6977 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.1833, allocations: 266.6 kB / 0.698 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1836, allocations: 156.8 kB / 0.6981 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1837, allocations: 8 kB / 0.6981 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1837, allocations: 30.56 kB / 0.6982 GB, free: 1.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.1837, allocations: 0 / 0.6982 GB, free: 1.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001515/0.1852, allocations: 0.5845 MB / 0.6987 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1853, allocations: 55.34 kB / 0.6988 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1855, allocations: 232.9 kB / 0.699 GB, free: 388 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1855, allocations: 37.7 kB / 0.6991 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1857, allocations: 203.7 kB / 0.6992 GB, free: 136 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.1857, allocations: 67 kB / 0.6993 GB, free: 68 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.1858, allocations: 25.72 kB / 0.6993 GB, free: 36 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1859, allocations: 334.8 kB / 0.6997 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1861, allocations: 91.88 kB / 0.6997 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.1864, allocations: 188.3 kB / 0.6999 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.1869, allocations: 287.3 kB / 0.7002 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1869, allocations: 3.938 kB / 0.7002 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008494/0.1878, allocations: 389.1 kB / 0.7006 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1879, allocations: 169.6 kB / 0.7007 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1879, allocations: 3.984 kB / 0.7007 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/0.1884, allocations: 109.6 kB / 0.7008 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1886, allocations: 55.91 kB / 0.7009 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.1917, allocations: 2.828 MB / 0.7037 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.1919, allocations: 39.83 kB / 0.7037 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1919, allocations: 12 kB / 0.7037 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.192, allocations: 4 kB / 0.7037 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007306/0.1927, allocations: 312.6 kB / 0.704 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1927, allocations: 4 kB / 0.704 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.193, allocations: 76.92 kB / 0.7041 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1932, allocations: 55.91 kB / 0.7041 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.195, allocations: 1.507 MB / 0.7056 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.1952, allocations: 31.73 kB / 0.7056 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1952, allocations: 12 kB / 0.7057 GB, free: 9.027 MB / 0.4981 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.0002652/0.1955, allocations: 253.7 kB / 0.7059 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.1955, allocations: 19.81 kB / 0.7059 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.1956, allocations: 26.19 kB / 0.7059 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.1956, allocations: 3.938 kB / 0.7059 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1956, allocations: 4 kB / 0.7059 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1956, allocations: 3.984 kB / 0.7059 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.197, allocations: 0.8365 MB / 0.7068 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.197, allocations: 8 kB / 0.7068 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1972, allocations: 39.91 kB / 0.7068 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.1975, allocations: 97.62 kB / 0.7069 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1976, allocations: 8 kB / 0.7069 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.2002, allocations: 2.795 MB / 0.7096 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2003, allocations: 7.969 kB / 0.7097 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.2011, allocations: 433.9 kB / 0.7101 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2012, allocations: 108.8 kB / 0.7102 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.2012, allocations: 8 kB / 0.7102 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.2014, allocations: 19.92 kB / 0.7102 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.2015, allocations: 23.88 kB / 0.7102 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2015, allocations: 8 kB / 0.7102 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001493/0.2016, allocations: 164.5 kB / 0.7104 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2017, allocations: 0 / 0.7104 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005939/0.2023, allocations: 167.4 kB / 0.7105 GB, free: 3.605 MB / 0.4981 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.0009813/0.2032, allocations: 0.9598 MB / 0.7115 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.205, allocations: 0.7673 MB / 0.7122 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2051, allocations: 0 / 0.7122 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.2058, allocations: 373.8 kB / 0.7126 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.2063, allocations: 59.16 kB / 0.7126 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.2102, allocations: 3.027 MB / 0.7156 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.2105, allocations: 0.8145 MB / 0.7164 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002076/0.2108, allocations: 54.25 kB / 0.7164 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2109, allocations: 91.41 kB / 0.7165 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.2109, allocations: 0 / 0.7165 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.2288, allocations: 6.65 MB / 0.723 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.229, allocations: 244.2 kB / 0.7233 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.997, allocations: 0 / 0.7233 GB, free: 6.504 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)