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.68/2.68, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001545/0.001545, allocations: 193.6 kB / 370.8 MB, free: 10.86 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.342/2.342, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001254/0.001254, allocations: 98.09 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005092, allocations: 16.42 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2472, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005186/0.2524, allocations: 3.293 MB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.2558, allocations: 1.634 MB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.2562, allocations: 7.938 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.2565, allocations: 55.67 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006627/0.2572, allocations: 167.4 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008124/0.258, allocations: 196.1 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.2586, allocations: 283.4 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.2591, allocations: 336.3 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.2594, allocations: 139.5 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.2597, allocations: 155.4 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2598, allocations: 12 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.2602, allocations: 83.83 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.2603, allocations: 107.7 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.2604, allocations: 77.58 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.261, allocations: 367.3 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.261, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.261, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.261, allocations: 0 / 0.985 GB, free: 21.38 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.001328/0.2624, allocations: 0.608 MB / 0.9856 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2624, allocations: 12.02 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.857e-05/0.2625, allocations: 78.47 kB / 0.9857 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.2634, allocations: 99.42 kB / 0.9858 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2639, allocations: 286.2 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2639, allocations: 28.58 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.264, allocations: 28 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2652, allocations: 489.8 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2652, allocations: 3.938 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.2653, allocations: 15.98 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/0.2654, allocations: 40.64 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.2666, allocations: 390.2 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.2694, allocations: 2.048 MB / 0.989 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.2703, allocations: 222.8 kB / 0.9892 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.2704, allocations: 3.984 kB / 0.9892 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2704, allocations: 38.5 kB / 0.9892 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.076e-06/0.2704, allocations: 0 / 0.9892 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00178/0.2722, allocations: 469.4 kB / 0.9897 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.2723, allocations: 55.36 kB / 0.9897 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.2727, allocations: 258.7 kB / 0.99 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.2727, allocations: 33.69 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2728, allocations: 207.7 kB / 0.9902 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.2729, allocations: 63.09 kB / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.2729, allocations: 8 kB / 0.9903 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.273, allocations: 334.8 kB / 0.9906 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.2735, allocations: 108.4 kB / 0.9907 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.2739, allocations: 222.7 kB / 0.9909 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.2744, allocations: 127.9 kB / 0.991 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2744, allocations: 0 / 0.991 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001241/0.2757, allocations: 384 kB / 0.9914 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002867/0.276, allocations: 1.312 MB / 0.9927 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.276, allocations: 4 kB / 0.9927 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.2764, allocations: 36.77 kB / 0.9927 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.2769, allocations: 75.89 kB / 0.9928 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.2783, allocations: 1.347 MB / 0.9941 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.2788, allocations: 51.77 kB / 0.9942 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.2789, allocations: 12 kB / 0.9942 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2789, allocations: 4 kB / 0.9942 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009942/0.2799, allocations: 307.5 kB / 0.9945 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2799, allocations: 4 kB / 0.9945 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2799, allocations: 4.438 kB / 0.9945 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.2805, allocations: 87.83 kB / 0.9946 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2805, allocations: 4 kB / 0.9946 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.2809, allocations: 35.83 kB / 0.9946 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.281, allocations: 11.98 kB / 0.9946 GB, free: 10.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002693/0.2812, allocations: 254.6 kB / 0.9949 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2813, allocations: 27.67 kB / 0.9949 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.2814, allocations: 38.17 kB / 0.9949 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2814, allocations: 0 / 0.9949 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2814, allocations: 0 / 0.9949 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2815, allocations: 0 / 0.9949 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.282, allocations: 349.4 kB / 0.9953 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.282, allocations: 4 kB / 0.9953 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.2824, allocations: 47.91 kB / 0.9953 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.2826, allocations: 28.83 kB / 0.9953 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2826, allocations: 3.953 kB / 0.9953 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.2837, allocations: 1.331 MB / 0.9966 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2837, allocations: 0 / 0.9966 GB, free: 8.547 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2847, allocations: 382.3 kB / 0.997 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.2849, allocations: 116.8 kB / 0.9971 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.285, allocations: 11.98 kB / 0.9971 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2853, allocations: 15.98 kB / 0.9971 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.2854, allocations: 11.98 kB / 0.9971 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.2854, allocations: 4 kB / 0.9972 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002112/0.2857, allocations: 182 kB / 0.9973 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2857, allocations: 4 kB / 0.9973 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007895/0.2865, allocations: 147.5 kB / 0.9975 GB, free: 7.656 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 16 * 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.001221/0.2877, allocations: 0.9081 MB / 0.9984 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.2894, allocations: 0.5256 MB / 0.9989 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2895, allocations: 4.062 kB / 0.9989 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.2901, allocations: 226.6 kB / 0.9991 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.2907, allocations: 67.55 kB / 0.9992 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004163/0.2949, allocations: 3.802 MB / 1.003 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2953, allocations: 0.8033 MB / 1.004 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.2958, allocations: 78.19 kB / 1.004 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2959, allocations: 87.41 kB / 1.004 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/0.296, allocations: 0 / 1.004 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.3355, allocations: 5.607 MB / 1.009 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.3359, allocations: 209.5 kB / 1.009 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.03, allocations: 0.9844 kB / 1.009 GB, free: 11.32 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)