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: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001461/0.00146, allocations: 179.5 kB / 372.9 MB, free: 10.12 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.542/1.542, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007088/0.0007089, allocations: 101 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005119, allocations: 11.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2692, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004996/0.2743, allocations: 3.351 MB / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.2774, allocations: 1.677 MB / 0.9856 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.2777, allocations: 11.94 kB / 0.9857 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.278, allocations: 51.56 kB / 0.9857 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.2786, allocations: 219 kB / 0.9859 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.2794, allocations: 211.6 kB / 0.9861 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006835/0.2801, allocations: 0.5647 MB / 0.9867 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.2806, allocations: 367.2 kB / 0.987 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.2809, allocations: 155.4 kB / 0.9872 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.2813, allocations: 215.2 kB / 0.9874 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.2814, allocations: 16 kB / 0.9874 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.2819, allocations: 223.5 kB / 0.9876 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.282, allocations: 111.7 kB / 0.9877 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.2822, allocations: 173 kB / 0.9879 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.2827, allocations: 375.3 kB / 0.9882 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.2827, allocations: 0 / 0.9882 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2827, allocations: 7.938 kB / 0.9882 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2827, allocations: 0 / 0.9882 GB, free: 19.57 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.001211/0.2839, allocations: 0.6042 MB / 0.9888 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.284, allocations: 8.031 kB / 0.9888 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008046/0.2848, allocations: 88.41 kB / 0.9889 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.2853, allocations: 291.4 kB / 0.9892 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2853, allocations: 25.02 kB / 0.9892 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/0.2854, allocations: 28.38 kB / 0.9892 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.2864, allocations: 494 kB / 0.9897 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2864, allocations: 4 kB / 0.9897 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.2864, allocations: 15.98 kB / 0.9897 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/0.2865, allocations: 40.62 kB / 0.9898 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.2874, allocations: 390.2 kB / 0.9901 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.2896, allocations: 2.044 MB / 0.9921 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.2903, allocations: 224.6 kB / 0.9924 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.2908, allocations: 174.5 kB / 0.9925 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2908, allocations: 0 / 0.9925 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2908, allocations: 34.56 kB / 0.9926 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.514e-06/0.2909, allocations: 0 / 0.9926 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001265/0.2921, allocations: 458.9 kB / 0.993 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.2922, allocations: 55.41 kB / 0.993 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.2924, allocations: 262.5 kB / 0.9933 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2925, allocations: 29.7 kB / 0.9933 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2926, allocations: 211.7 kB / 0.9935 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.2927, allocations: 63.11 kB / 0.9936 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.2927, allocations: 8 kB / 0.9936 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.2928, allocations: 338.8 kB / 0.9939 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2931, allocations: 96.48 kB / 0.994 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.2935, allocations: 223.5 kB / 0.9942 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/0.2941, allocations: 332.2 kB / 0.9945 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2941, allocations: 0 / 0.9945 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008748/0.295, allocations: 382.1 kB / 0.9949 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.2951, allocations: 191.2 kB / 0.9951 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2951, allocations: 11.94 kB / 0.9951 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.2954, allocations: 32.83 kB / 0.9951 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.2957, allocations: 71.89 kB / 0.9952 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.2968, allocations: 1.339 MB / 0.9965 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.2972, allocations: 51.73 kB / 0.9966 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2973, allocations: 12 kB / 0.9966 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.2973, allocations: 4 kB / 0.9966 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007433/0.298, allocations: 300.5 kB / 0.9969 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.298, allocations: 4 kB / 0.9969 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.2981, allocations: 4 kB / 0.9969 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2984, allocations: 71.89 kB / 0.9969 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2984, allocations: 15.88 kB / 0.9969 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2987, allocations: 47.91 kB / 0.997 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2987, allocations: 12 kB / 0.997 GB, free: 9.887 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.0002071/0.299, allocations: 249 kB / 0.9972 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.299, allocations: 27.72 kB / 0.9973 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.2991, allocations: 30.17 kB / 0.9973 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2991, allocations: 7.922 kB / 0.9973 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2991, allocations: 3.938 kB / 0.9973 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2992, allocations: 120.8 kB / 0.9974 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2993, allocations: 4 kB / 0.9974 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2995, allocations: 19.98 kB / 0.9974 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.2996, allocations: 19.91 kB / 0.9975 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008567/0.3005, allocations: 363.4 kB / 0.9978 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009525/0.3015, allocations: 0.5195 MB / 0.9983 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002857/0.3018, allocations: 95.83 kB / 0.9984 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001823/0.302, allocations: 182 kB / 0.9986 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of Backend: time 5.21e-07/0.302, allocations: 0 / 0.9986 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.3037, allocations: 0.6019 MB / 0.9992 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001251/0.305, allocations: 1.126 MB / 1 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of Templates: time 0.0109/0.3159, allocations: 4.359 MB / 1.005 GB, free: 2.094 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)