Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.052/2.052, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005189, allocations: 17.62 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2661, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004389/0.2706, allocations: 3.605 MB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.2744, allocations: 2.488 MB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.2747, allocations: 7.938 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.2749, allocations: 51.61 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.2756, allocations: 267.1 kB / 0.7935 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.2766, allocations: 419.7 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.2772, allocations: 422.8 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007867/0.278, allocations: 0.4913 MB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2782, allocations: 187.3 kB / 0.795 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.2786, allocations: 235.1 kB / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2787, allocations: 20 kB / 0.7952 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.279, allocations: 139.8 kB / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2791, allocations: 163.5 kB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.2792, allocations: 105.5 kB / 0.7956 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.2797, allocations: 0.5145 MB / 0.7961 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2798, allocations: 0 / 0.7961 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2798, allocations: 0 / 0.7961 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2798, allocations: 0 / 0.7961 GB, free: 2.73 MB / 0.6075 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.00117/0.2809, allocations: 0.7287 MB / 0.7968 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.281, allocations: 8.031 kB / 0.7968 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.721e-05/0.2811, allocations: 94.5 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.282, allocations: 159.1 kB / 0.7971 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.2825, allocations: 350 kB / 0.7974 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2825, allocations: 32.98 kB / 0.7974 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.2826, allocations: 40 kB / 0.7975 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.2837, allocations: 0.8173 MB / 0.7983 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.2837, allocations: 7.938 kB / 0.7983 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.2838, allocations: 19.98 kB / 0.7983 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.883e-05/0.2839, allocations: 64.61 kB / 0.7983 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.285, allocations: 0.6619 MB / 0.799 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.289, allocations: 4.631 MB / 0.8035 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.29, allocations: 0.497 MB / 0.804 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2901, allocations: 7.984 kB / 0.804 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2901, allocations: 38.5 kB / 0.804 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.2901, allocations: 7.984 kB / 0.8041 GB, free: 10 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001722/0.2918, allocations: 0.8904 MB / 0.8049 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2919, allocations: 81.11 kB / 0.805 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2922, allocations: 369.4 kB / 0.8054 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.2923, allocations: 37.7 kB / 0.8054 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2925, allocations: 287 kB / 0.8057 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2926, allocations: 122.3 kB / 0.8058 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.2926, allocations: 16 kB / 0.8058 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2927, allocations: 342.8 kB / 0.8061 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.2932, allocations: 261 kB / 0.8064 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.2938, allocations: 474.6 kB / 0.8068 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.2943, allocations: 332.2 kB / 0.8071 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2944, allocations: 4 kB / 0.8071 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001266/0.2956, allocations: 0.7711 MB / 0.8079 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009864/0.2966, allocations: 2.785 MB / 0.8106 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2967, allocations: 12 kB / 0.8106 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.2967, allocations: 12 kB / 0.8106 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.2974, allocations: 167.7 kB / 0.8108 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.2974, allocations: 12 kB / 0.8108 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.2979, allocations: 79.67 kB / 0.8109 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.2979, allocations: 28 kB / 0.8109 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.2979, allocations: 4 kB / 0.8109 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.2989, allocations: 0.6124 MB / 0.8115 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.299, allocations: 8 kB / 0.8115 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.299, allocations: 12 kB / 0.8115 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.2995, allocations: 144.3 kB / 0.8117 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2995, allocations: 15.92 kB / 0.8117 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.2999, allocations: 59.77 kB / 0.8117 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.2999, allocations: 31.98 kB / 0.8118 GB, free: 1.707 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.3002, allocations: 280.8 kB / 0.812 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.3003, allocations: 39.53 kB / 0.8121 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.3014, allocations: 0.5966 MB / 0.8127 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3014, allocations: 8 kB / 0.8127 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3014, allocations: 0 / 0.8127 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3014, allocations: 3.953 kB / 0.8127 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.3039, allocations: 1.62 MB / 0.8143 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3039, allocations: 4 kB / 0.8143 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.3044, allocations: 120.3 kB / 0.8144 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.3044, allocations: 8 kB / 0.8144 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3045, allocations: 8 kB / 0.8144 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.3045, allocations: 11.94 kB / 0.8144 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3045, allocations: 4 kB / 0.8144 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3057, allocations: 0.9779 MB / 0.8154 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.3059, allocations: 168.5 kB / 0.8155 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.306, allocations: 11.95 kB / 0.8155 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.3064, allocations: 51.94 kB / 0.8156 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.3064, allocations: 35.89 kB / 0.8156 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.3065, allocations: 19.94 kB / 0.8156 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002499/0.3067, allocations: 255.1 kB / 0.8159 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3067, allocations: 0 / 0.8159 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008873/0.3076, allocations: 192 kB / 0.8161 GB, free: 13.03 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001809/0.3095, allocations: 2.566 MB / 0.8186 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.3111, allocations: 0.9241 MB / 0.8195 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3112, allocations: 0 / 0.8195 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006347/0.3118, allocations: 284.8 kB / 0.8197 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.3125, allocations: 100.2 kB / 0.8198 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.3191, allocations: 7.67 MB / 0.8273 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.3196, allocations: 0.8787 MB / 0.8282 GB, free: 232 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.3202, allocations: 200 kB / 0.8284 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.3204, allocations: 151.5 kB / 0.8285 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.3204, allocations: 0 / 0.8285 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.3427, allocations: 9.275 MB / 0.8376 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.3429, allocations: 202.1 kB / 0.8378 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.254, allocations: 0 / 0.8378 GB, free: 6.559 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) Environment - environmentSimulation: