Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.479/1.479, allocations: 288.4 MB / 303.6 MB, free: 7.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009322/0.0009321, allocations: 183.1 kB / 372.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 0.631 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007694/0.0007696, allocations: 94.3 kB / 0.7444 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003802, allocations: 16.91 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1659, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003045/0.169, allocations: 3.347 MB / 0.9835 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1708, allocations: 1.669 MB / 0.9851 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.171, allocations: 11.94 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.1712, allocations: 55.56 kB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.1717, allocations: 223 kB / 0.9854 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.1722, allocations: 213.7 kB / 0.9856 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1726, allocations: 0.5608 MB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.173, allocations: 373.4 kB / 0.9865 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1731, allocations: 155.3 kB / 0.9866 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.1735, allocations: 215.3 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1735, allocations: 16 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.1738, allocations: 223.5 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.1739, allocations: 107.7 kB / 0.9872 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.174, allocations: 181 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1743, allocations: 371.3 kB / 0.9877 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1744, allocations: 0 / 0.9877 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1744, allocations: 4 kB / 0.9877 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.1744, allocations: 0 / 0.9877 GB, free: 19.56 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008659/0.1753, allocations: 0.612 MB / 0.9883 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1753, allocations: 8.031 kB / 0.9883 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.1754, allocations: 70.72 kB / 0.9884 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.1758, allocations: 88.41 kB / 0.9884 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1761, allocations: 295.4 kB / 0.9887 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1761, allocations: 17.03 kB / 0.9887 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1762, allocations: 32.36 kB / 0.9888 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.1768, allocations: 0.49 MB / 0.9892 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1768, allocations: 0 / 0.9892 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1769, allocations: 19.98 kB / 0.9893 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.1769, allocations: 40.58 kB / 0.9893 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.1776, allocations: 386.3 kB / 0.9897 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1791, allocations: 2.044 MB / 0.9917 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.1796, allocations: 222.7 kB / 0.9919 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.1799, allocations: 168.8 kB / 0.992 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1799, allocations: 7.938 kB / 0.992 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.18, allocations: 30.56 kB / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.18, allocations: 0 / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009142/0.1809, allocations: 464.5 kB / 0.9925 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.908e-05/0.1809, allocations: 51.41 kB / 0.9926 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1811, allocations: 262.6 kB / 0.9928 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1811, allocations: 29.7 kB / 0.9928 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.1812, allocations: 211.7 kB / 0.9931 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1812, allocations: 67.12 kB / 0.9931 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1812, allocations: 4 kB / 0.9931 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.1813, allocations: 342.8 kB / 0.9934 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.1815, allocations: 92.5 kB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1818, allocations: 227.4 kB / 0.9938 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.1822, allocations: 323 kB / 0.9941 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1822, allocations: 4 kB / 0.9941 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006272/0.1829, allocations: 383.1 kB / 0.9944 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.1829, allocations: 193.8 kB / 0.9946 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1829, allocations: 8 kB / 0.9946 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.1831, allocations: 32.84 kB / 0.9947 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1834, allocations: 71.83 kB / 0.9947 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007592/0.1841, allocations: 1.336 MB / 0.996 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.1844, allocations: 51.56 kB / 0.9961 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1844, allocations: 12 kB / 0.9961 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/0.1844, allocations: 4 kB / 0.9961 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005119/0.1849, allocations: 297.3 kB / 0.9964 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.185, allocations: 4 kB / 0.9964 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.185, allocations: 11.94 kB / 0.9964 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.1852, allocations: 71.89 kB / 0.9965 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1852, allocations: 4 kB / 0.9965 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1854, allocations: 47.92 kB / 0.9965 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1854, allocations: 16 kB / 0.9965 GB, free: 9.789 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.1856, allocations: 249 kB / 0.9968 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1856, allocations: 23.72 kB / 0.9968 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.1857, allocations: 38.11 kB / 0.9968 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1857, allocations: 3.938 kB / 0.9968 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1857, allocations: 4 kB / 0.9968 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1857, allocations: 11.92 kB / 0.9968 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.1866, allocations: 0.7616 MB / 0.9976 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1866, allocations: 4 kB / 0.9976 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1868, allocations: 47.97 kB / 0.9976 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.1868, allocations: 28.83 kB / 0.9977 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1869, allocations: 4 kB / 0.9977 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006524/0.1875, allocations: 1.315 MB / 0.9989 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1875, allocations: 3.938 kB / 0.9989 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.1881, allocations: 383.5 kB / 0.9993 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1881, allocations: 124.7 kB / 0.9994 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1882, allocations: 7.938 kB / 0.9994 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1884, allocations: 15.98 kB / 0.9995 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.1884, allocations: 23.95 kB / 0.9995 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1884, allocations: 4 kB / 0.9995 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001132/0.1886, allocations: 186 kB / 0.9997 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1886, allocations: 0 / 0.9997 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005182/0.1891, allocations: 147.5 kB / 0.9998 GB, free: 6.164 MB / 0.6198 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006527/0.1897, allocations: 0.9279 MB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008335/0.1906, allocations: 0.5 MB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1906, allocations: 0 / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.1909, allocations: 236.1 kB / 1.001 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.1914, allocations: 62 kB / 1.001 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1934, allocations: 1.704 MB / 1.003 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.1936, allocations: 0.7996 MB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.1939, allocations: 78.22 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.194, allocations: 87.41 kB / 1.004 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.194, allocations: 0 / 1.004 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5006/0.6945, allocations: 5.681 MB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.6949, allocations: 227.1 kB / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.962, allocations: 0 / 1.01 GB, free: 11.85 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)