Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.0009831, allocations: 169.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008315/0.0008314, allocations: 86.27 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004926, allocations: 8.781 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 106.4 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004382/0.2549, allocations: 3.852 MB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.2591, allocations: 2.669 MB / 0.9073 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.2596, allocations: 7.938 kB / 0.9073 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.26, allocations: 67.48 kB / 0.9074 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2612, allocations: 370.5 kB / 0.9077 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2627, allocations: 480.6 kB / 0.9082 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.2639, allocations: 0.9778 MB / 0.9091 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.265, allocations: 0.5471 MB / 0.9097 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005369/0.2655, allocations: 219.1 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.2663, allocations: 322.8 kB / 0.9102 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.2664, allocations: 24 kB / 0.9102 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007697/0.2672, allocations: 391.1 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.2675, allocations: 163.5 kB / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.2678, allocations: 252.4 kB / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.2687, allocations: 0.7165 MB / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2687, allocations: 0 / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2688, allocations: 0 / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.2688, allocations: 0 / 0.9117 GB, free: 52.14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001344/0.2701, allocations: 0.725 MB / 0.9124 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2702, allocations: 12.03 kB / 0.9124 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.2704, allocations: 86.69 kB / 0.9125 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009577/0.2714, allocations: 148.1 kB / 0.9126 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.2718, allocations: 363.1 kB / 0.913 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2719, allocations: 29.36 kB / 0.913 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.2719, allocations: 48.36 kB / 0.913 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.2729, allocations: 0.8329 MB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.273, allocations: 7.906 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.273, allocations: 19.98 kB / 0.9139 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.77e-05/0.2731, allocations: 64.62 kB / 0.9139 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009596/0.2741, allocations: 0.6619 MB / 0.9146 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.2771, allocations: 4.623 MB / 0.9191 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.2779, allocations: 0.497 MB / 0.9196 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.2783, allocations: 289.5 kB / 0.9199 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2783, allocations: 11.92 kB / 0.9199 GB, free: 43.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2784, allocations: 38.56 kB / 0.9199 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.2784, allocations: 0 / 0.9199 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001657/0.28, allocations: 0.8975 MB / 0.9208 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2801, allocations: 81.11 kB / 0.9209 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2804, allocations: 365.5 kB / 0.9212 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.2804, allocations: 29.7 kB / 0.9212 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.2806, allocations: 287.1 kB / 0.9215 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.2807, allocations: 122.2 kB / 0.9216 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2807, allocations: 12 kB / 0.9217 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.2808, allocations: 350.7 kB / 0.922 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2813, allocations: 261 kB / 0.9222 GB, free: 40.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.2818, allocations: 486.5 kB / 0.9227 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.2827, allocations: 0.776 MB / 0.9235 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2827, allocations: 0 / 0.9235 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001142/0.2839, allocations: 0.7859 MB / 0.9242 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.284, allocations: 299.6 kB / 0.9245 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.284, allocations: 8 kB / 0.9245 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.284, allocations: 8 kB / 0.9245 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.2846, allocations: 167.7 kB / 0.9247 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.2846, allocations: 19.88 kB / 0.9247 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.2851, allocations: 71.78 kB / 0.9248 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.2851, allocations: 27.98 kB / 0.9248 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.52e-06/0.2851, allocations: 4 kB / 0.9248 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000849/0.286, allocations: 0.6129 MB / 0.9254 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.286, allocations: 7.938 kB / 0.9254 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.286, allocations: 12 kB / 0.9254 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.2865, allocations: 151.7 kB / 0.9256 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2865, allocations: 15.94 kB / 0.9256 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.2868, allocations: 59.8 kB / 0.9256 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.2869, allocations: 36 kB / 0.9257 GB, free: 36.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.2871, allocations: 277.9 kB / 0.9259 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.2872, allocations: 39.53 kB / 0.926 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.2882, allocations: 0.5912 MB / 0.9266 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2882, allocations: 8.031 kB / 0.9266 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2882, allocations: 3.984 kB / 0.9266 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2882, allocations: 3.938 kB / 0.9266 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.2902, allocations: 1.639 MB / 0.9282 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2903, allocations: 4 kB / 0.9282 GB, free: 34.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.2907, allocations: 111.8 kB / 0.9283 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.2908, allocations: 8.469 kB / 0.9283 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.2908, allocations: 8 kB / 0.9283 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.2908, allocations: 11.98 kB / 0.9283 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2908, allocations: 11.94 kB / 0.9283 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.2918, allocations: 0.804 MB / 0.9291 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.2919, allocations: 168.5 kB / 0.9293 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.292, allocations: 8 kB / 0.9293 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.2924, allocations: 51.92 kB / 0.9293 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.2925, allocations: 39.84 kB / 0.9294 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.2925, allocations: 12 kB / 0.9294 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002057/0.2927, allocations: 255.2 kB / 0.9296 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2927, allocations: 0 / 0.9296 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008192/0.2935, allocations: 188 kB / 0.9298 GB, free: 32.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.2946, allocations: 1.361 MB / 0.9311 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.296, allocations: 0.9329 MB / 0.932 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.296, allocations: 0 / 0.932 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.2964, allocations: 284.7 kB / 0.9323 GB, free: 29.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.2973, allocations: 116.8 kB / 0.9324 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.3028, allocations: 5.021 MB / 0.9373 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3033, allocations: 0.8826 MB / 0.9382 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006642/0.3039, allocations: 196 kB / 0.9384 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.3043, allocations: 147.4 kB / 0.9385 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.263e-06/0.3043, allocations: 0 / 0.9385 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.3262, allocations: 9.176 MB / 0.9475 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.3264, allocations: 231.6 kB / 0.9477 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.816, allocations: 0 / 0.9477 GB, free: 13.85 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)