Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.608/1.608, allocations: 288.4 MB / 303.3 MB, free: 8.059 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.00103/0.001031, allocations: 179.2 kB / 372 MB, free: 10.26 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.635/1.635, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0008818/0.0008819, allocations: 86.41 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004446, allocations: 10.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002995/0.2613, allocations: 2.657 MB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2638, allocations: 1.81 MB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.264, allocations: 0 / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.2642, allocations: 43.7 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000538/0.2648, allocations: 139.3 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.2654, allocations: 171.5 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.2658, allocations: 366.8 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.2663, allocations: 321.8 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2664, allocations: 103.6 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2667, allocations: 139.5 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.2667, allocations: 8 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.2671, allocations: 255.6 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.2672, allocations: 75.78 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.2673, allocations: 69.58 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2676, allocations: 355.2 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2676, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2676, allocations: 0 / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2677, allocations: 3.938 kB / 0.986 GB, free: 21.04 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007513/0.2684, allocations: 0.5183 MB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2685, allocations: 12.02 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.2685, allocations: 54.55 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007551/0.2693, allocations: 119.5 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.2696, allocations: 258.6 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2696, allocations: 12.44 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.2696, allocations: 19.98 kB / 0.9869 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.2701, allocations: 349.1 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2701, allocations: 0 / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.2701, allocations: 11.98 kB / 0.9873 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.2702, allocations: 24.42 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.2706, allocations: 301.4 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.2722, allocations: 1.729 MB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.2726, allocations: 330.1 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2727, allocations: 105.7 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.2728, allocations: 85.39 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.2728, allocations: 34.56 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.2728, allocations: 0 / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002193/0.275, allocations: 0.9817 MB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2751, allocations: 85.33 kB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2752, allocations: 208.5 kB / 0.991 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2753, allocations: 29.7 kB / 0.9911 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.2753, allocations: 176 kB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.2754, allocations: 78.84 kB / 0.9913 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.2754, allocations: 8 kB / 0.9913 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.2755, allocations: 338.8 kB / 0.9916 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2756, allocations: 131.9 kB / 0.9918 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2758, allocations: 213.2 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.276, allocations: 156 kB / 0.9921 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.276, allocations: 4 kB / 0.9921 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000681/0.2767, allocations: 0.5082 MB / 0.9926 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2767, allocations: 8 kB / 0.9926 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2767, allocations: 3.953 kB / 0.9926 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/0.2772, allocations: 151.4 kB / 0.9928 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2774, allocations: 63.89 kB / 0.9928 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.2794, allocations: 3.954 MB / 0.9967 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2796, allocations: 15.98 kB / 0.9967 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.2796, allocations: 19.98 kB / 0.9967 GB, free: 9.184 MB / 0.6198 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.2798, allocations: 161.9 kB / 0.9969 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.2798, allocations: 27.81 kB / 0.9969 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.2805, allocations: 482.4 kB / 0.9974 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2805, allocations: 4 kB / 0.9974 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2806, allocations: 0 / 0.9974 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2806, allocations: 0 / 0.9974 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.2818, allocations: 1.001 MB / 0.9983 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2818, allocations: 4 kB / 0.9984 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2819, allocations: 39.92 kB / 0.9984 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003556/0.2823, allocations: 143.6 kB / 0.9985 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2823, allocations: 8 kB / 0.9985 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.2841, allocations: 3.946 MB / 1.002 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2841, allocations: 4 kB / 1.002 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.2847, allocations: 0.6301 MB / 1.003 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.2848, allocations: 128.8 kB / 1.003 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2849, allocations: 8 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.2851, allocations: 19.98 kB / 1.003 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.2852, allocations: 23.97 kB / 1.003 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2852, allocations: 12 kB / 1.003 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001022/0.2853, allocations: 148.2 kB / 1.003 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2853, allocations: 0 / 1.003 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004466/0.2858, allocations: 87.98 kB / 1.003 GB, free: 1.809 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008687/0.2866, allocations: 1.198 MB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.2874, allocations: 0.5711 MB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2874, allocations: 4 kB / 1.005 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.2879, allocations: 394.4 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.2884, allocations: 50.88 kB / 1.006 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.2912, allocations: 1.805 MB / 1.007 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.2917, allocations: 0.783 MB / 1.008 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.2919, allocations: 62.23 kB / 1.008 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.292, allocations: 75.34 kB / 1.008 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.292, allocations: 0 / 1.008 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.3133, allocations: 6.211 MB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/0.3135, allocations: 223.3 kB / 1.015 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.173, allocations: 64 / 1.015 GB, free: 6.379 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)