Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.778/2.778, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.002076/0.002076, allocations: 193 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009203/0.0009201, allocations: 84.59 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007515/0.0007518, allocations: 14.45 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2375, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005011/0.2426, allocations: 3.347 MB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.2462, allocations: 1.677 MB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.2466, allocations: 8 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.2469, allocations: 55.5 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007136/0.2476, allocations: 191.1 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.2485, allocations: 189.2 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000775/0.2493, allocations: 0.5608 MB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.2498, allocations: 340.3 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.2501, allocations: 155.4 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.2506, allocations: 219.2 kB / 0.985 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.2506, allocations: 16 kB / 0.985 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.251, allocations: 87.88 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2512, allocations: 107.7 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.2513, allocations: 89.5 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.2518, allocations: 359.4 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2518, allocations: 0 / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2518, allocations: 4 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2518, allocations: 0 / 0.9856 GB, free: 20.82 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.001309/0.2531, allocations: 0.6196 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2532, allocations: 12.02 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.2533, allocations: 70.52 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.2541, allocations: 91.42 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.2546, allocations: 286.2 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.2546, allocations: 20.66 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.2547, allocations: 31.98 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.2559, allocations: 489.8 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.2559, allocations: 4 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.256, allocations: 16 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/0.2561, allocations: 40.64 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2572, allocations: 394.2 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.2599, allocations: 2.041 MB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.2608, allocations: 228.8 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.2614, allocations: 168.8 kB / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.2615, allocations: 0 / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2615, allocations: 42.55 kB / 0.9901 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.2615, allocations: 3.938 kB / 0.9901 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00167/0.2632, allocations: 455 kB / 0.9905 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2632, allocations: 59.34 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2636, allocations: 258.6 kB / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2636, allocations: 33.7 kB / 0.9908 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2637, allocations: 199.8 kB / 0.991 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.2638, allocations: 71.08 kB / 0.9911 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2638, allocations: 8 kB / 0.9911 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.2639, allocations: 334.8 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.2643, allocations: 96.5 kB / 0.9915 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.2648, allocations: 219.5 kB / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.2653, allocations: 129.5 kB / 0.9918 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2653, allocations: 4 kB / 0.9918 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00123/0.2665, allocations: 375.6 kB / 0.9922 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.2666, allocations: 198 kB / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2667, allocations: 4 kB / 0.9924 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002738/0.2669, allocations: 40.83 kB / 0.9924 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.2675, allocations: 67.91 kB / 0.9925 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.2688, allocations: 1.331 MB / 0.9938 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.2692, allocations: 55.78 kB / 0.9938 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.2693, allocations: 12 kB / 0.9939 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2693, allocations: 4 kB / 0.9939 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009831/0.2703, allocations: 301.1 kB / 0.9941 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2703, allocations: 0 / 0.9941 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.2704, allocations: 12.03 kB / 0.9942 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.2709, allocations: 71.89 kB / 0.9942 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2709, allocations: 15.94 kB / 0.9942 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.2713, allocations: 31.83 kB / 0.9943 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2713, allocations: 31.86 kB / 0.9943 GB, free: 11.29 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.0002529/0.2716, allocations: 246.3 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.2716, allocations: 27.72 kB / 0.9946 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.2717, allocations: 30.17 kB / 0.9946 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2717, allocations: 4 kB / 0.9946 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2718, allocations: 7.953 kB / 0.9946 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2718, allocations: 0 / 0.9946 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.2734, allocations: 0.7682 MB / 0.9954 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2734, allocations: 3.953 kB / 0.9954 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.2738, allocations: 43.91 kB / 0.9954 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.274, allocations: 36.84 kB / 0.9954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.274, allocations: 0 / 0.9954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.2751, allocations: 1.319 MB / 0.9967 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2751, allocations: 4 kB / 0.9967 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009659/0.2761, allocations: 384.3 kB / 0.9971 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2763, allocations: 120.7 kB / 0.9972 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.2763, allocations: 12 kB / 0.9972 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.2766, allocations: 19.97 kB / 0.9972 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.2767, allocations: 15.98 kB / 0.9973 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2768, allocations: 4 kB / 0.9973 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002097/0.277, allocations: 182 kB / 0.9974 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.41e-07/0.277, allocations: 0 / 0.9974 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007497/0.2777, allocations: 147.5 kB / 0.9976 GB, free: 7.684 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.001203/0.279, allocations: 0.9176 MB / 0.9985 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.2806, allocations: 0.5073 MB / 0.999 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2806, allocations: 0 / 0.999 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.2811, allocations: 227.1 kB / 0.9992 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.2819, allocations: 65.89 kB / 0.9992 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.2855, allocations: 1.711 MB / 1.001 GB, free: 4.086 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2859, allocations: 0.7996 MB / 1.002 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.2863, allocations: 74.2 kB / 1.002 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2865, allocations: 91.41 kB / 1.002 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.2865, allocations: 0 / 1.002 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.3237, allocations: 5.686 MB / 1.007 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/0.3241, allocations: 225.2 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.081, allocations: 1.547 kB / 1.008 GB, free: 13.37 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)