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.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 222.4 MB, free: 4.598 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 1.568/1.568, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.0022/0.0022, allocations: 73.2 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1873, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004918/0.1922, allocations: 4.2 MB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1958, allocations: 2.693 MB / 0.7902 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.196, allocations: 7.938 kB / 0.7902 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.197, allocations: 382.2 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.1976, allocations: 378.3 kB / 0.7909 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.1986, allocations: 0.5215 MB / 0.7914 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.1992, allocations: 0.6929 MB / 0.7921 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.1997, allocations: 343.3 kB / 0.7925 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2, allocations: 263.1 kB / 0.7927 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.2004, allocations: 346.7 kB / 0.793 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-05/0.2005, allocations: 36 kB / 0.7931 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.2009, allocations: 311.3 kB / 0.7934 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2011, allocations: 191.5 kB / 0.7935 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.2013, allocations: 254.7 kB / 0.7938 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.2019, allocations: 0.7047 MB / 0.7945 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2019, allocations: 4 kB / 0.7945 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2019, allocations: 0 / 0.7945 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2019, allocations: 0 / 0.7945 GB, free: 2.059 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.00123/0.2032, allocations: 0.8067 MB / 0.7953 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2032, allocations: 8.031 kB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.762e-05/0.2033, allocations: 98.62 kB / 0.7954 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.2041, allocations: 144.1 kB / 0.7955 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.2045, allocations: 355.1 kB / 0.7958 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.2046, allocations: 37.36 kB / 0.7959 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.2047, allocations: 44.36 kB / 0.7959 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2057, allocations: 0.8213 MB / 0.7967 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2058, allocations: 3.938 kB / 0.7967 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.2058, allocations: 16 kB / 0.7967 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.962e-05/0.2059, allocations: 64.61 kB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.207, allocations: 0.6346 MB / 0.7974 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.2105, allocations: 4.643 MB / 0.802 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.2114, allocations: 0.494 MB / 0.8024 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.2118, allocations: 269.5 kB / 0.8027 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.2119, allocations: 7.984 kB / 0.8027 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2119, allocations: 42.56 kB / 0.8028 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.2119, allocations: 0 / 0.8028 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001606/0.2135, allocations: 0.8591 MB / 0.8036 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2136, allocations: 89.08 kB / 0.8037 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.2139, allocations: 365.7 kB / 0.804 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2139, allocations: 37.7 kB / 0.8041 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2141, allocations: 283 kB / 0.8043 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.2142, allocations: 118.3 kB / 0.8044 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.2144, allocations: 118 kB / 0.8046 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2145, allocations: 350.7 kB / 0.8049 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/0.2149, allocations: 258.9 kB / 0.8051 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.2155, allocations: 470.6 kB / 0.8056 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2165, allocations: 0.7582 MB / 0.8063 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2165, allocations: 4 kB / 0.8063 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001244/0.2178, allocations: 0.7546 MB / 0.8071 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2178, allocations: 12.14 kB / 0.8071 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2178, allocations: 12 kB / 0.8071 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2179, allocations: 16 kB / 0.8071 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.2185, allocations: 151.8 kB / 0.8073 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.2185, allocations: 19.92 kB / 0.8073 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.2189, allocations: 63.78 kB / 0.8073 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.219, allocations: 27.98 kB / 0.8074 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004797/0.2195, allocations: 353 kB / 0.8077 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004883/0.22, allocations: 437.2 kB / 0.8081 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008378/0.2208, allocations: 0.6697 MB / 0.8088 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.2208, allocations: 4 kB / 0.8088 GB, free: 2.344 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001019/0.2218, allocations: 0.6594 MB / 0.8094 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2219, allocations: 8 kB / 0.8094 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2219, allocations: 15.88 kB / 0.8094 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.2219, allocations: 12.78 kB / 0.8094 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.2224, allocations: 147.8 kB / 0.8096 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2224, allocations: 15.94 kB / 0.8096 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.2227, allocations: 51.8 kB / 0.8097 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.2228, allocations: 24 kB / 0.8097 GB, free: 1.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.2229, allocations: 227.9 kB / 0.8099 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.223, allocations: 43.52 kB / 0.8099 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.224, allocations: 0.5649 MB / 0.8105 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.224, allocations: 4 kB / 0.8105 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2241, allocations: 4 kB / 0.8105 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2241, allocations: 0 / 0.8105 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.2263, allocations: 1.6 MB / 0.8121 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2263, allocations: 4 kB / 0.8121 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.2268, allocations: 115.8 kB / 0.8122 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2269, allocations: 4 kB / 0.8122 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.2269, allocations: 12 kB / 0.8122 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.2269, allocations: 12.39 kB / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2269, allocations: 8 kB / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009753/0.2279, allocations: 0.7836 MB / 0.813 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.2281, allocations: 164.4 kB / 0.8131 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.2281, allocations: 15.94 kB / 0.8131 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.2285, allocations: 43.94 kB / 0.8132 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.2286, allocations: 43.83 kB / 0.8132 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.2286, allocations: 12 kB / 0.8132 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000232/0.2289, allocations: 255.2 kB / 0.8135 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.2289, allocations: 0 / 0.8135 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007318/0.2296, allocations: 188 kB / 0.8137 GB, free: 13.14 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 (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.001219/0.2308, allocations: 1.345 MB / 0.815 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.2323, allocations: 0.9401 MB / 0.8159 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2323, allocations: 4.188 kB / 0.8159 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.2328, allocations: 263.6 kB / 0.8161 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.2335, allocations: 141.5 kB / 0.8163 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.239, allocations: 4.768 MB / 0.8209 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.2394, allocations: 0.867 MB / 0.8218 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005027/0.2399, allocations: 204.1 kB / 0.822 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2401, allocations: 139.4 kB / 0.8221 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.2401, allocations: 0 / 0.8221 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4242/0.6643, allocations: 9.778 MB / 0.8317 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.588, allocations: 8.688 kB / 0.8317 GB, free: 10.41 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/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)