Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.001233/0.001233, allocations: 100.2 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.001416/0.001416, allocations: 177.3 kB / 15.95 MB, free: 216 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.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.999/1.999, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005562/0.0005562, allocations: 19.03 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3084, 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.ThreePhases): time 0.007055/0.3156, allocations: 3.652 MB / 0.7908 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.32, allocations: 2.228 MB / 0.793 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.3203, allocations: 11.88 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3206, allocations: 59.55 kB / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007474/0.3213, allocations: 283.1 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.322, allocations: 243.4 kB / 0.7935 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.3226, allocations: 428.8 kB / 0.794 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.3235, allocations: 422 kB / 0.7944 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.3239, allocations: 199.2 kB / 0.7946 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.3243, allocations: 215.1 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.3243, allocations: 20 kB / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.3248, allocations: 179.7 kB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.325, allocations: 111.7 kB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.3251, allocations: 113.4 kB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.3257, allocations: 0.5028 MB / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3257, allocations: 0 / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3257, allocations: 0 / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.3257, allocations: 0 / 0.7957 GB, free: 3.203 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001326/0.3271, allocations: 0.7052 MB / 0.7963 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.3271, allocations: 8.031 kB / 0.7963 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.795e-05/0.3272, allocations: 74.53 kB / 0.7964 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3285, allocations: 191 kB / 0.7966 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.3292, allocations: 383.5 kB / 0.797 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3292, allocations: 21 kB / 0.797 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.3293, allocations: 43.97 kB / 0.797 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009458/0.3302, allocations: 0.6351 MB / 0.7976 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3302, allocations: 7.938 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.3303, allocations: 23.94 kB / 0.7977 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.3304, allocations: 55.95 kB / 0.7977 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.3311, allocations: 495.3 kB / 0.7982 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.3349, allocations: 3.782 MB / 0.8019 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3366, allocations: 0.6286 MB / 0.8025 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.3366, allocations: 12.11 kB / 0.8025 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3367, allocations: 38.56 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.3367, allocations: 4 kB / 0.8026 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002251/0.3389, allocations: 1.273 MB / 0.8038 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.339, allocations: 114.8 kB / 0.8039 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.3395, allocations: 397.7 kB / 0.8043 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.3396, allocations: 29.7 kB / 0.8043 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.3399, allocations: 279.5 kB / 0.8046 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.34, allocations: 118.3 kB / 0.8047 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3401, allocations: 8 kB / 0.8047 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.3403, allocations: 358.8 kB / 0.8051 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.3406, allocations: 173 kB / 0.8052 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.341, allocations: 371.2 kB / 0.8056 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3413, allocations: 236.1 kB / 0.8058 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3413, allocations: 4 kB / 0.8058 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001041/0.3424, allocations: 0.6715 MB / 0.8065 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3424, allocations: 16.09 kB / 0.8065 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3424, allocations: 4 kB / 0.8065 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.3428, allocations: 94.45 kB / 0.8066 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3432, allocations: 115.8 kB / 0.8067 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.3464, allocations: 4.053 MB / 0.8106 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.3468, allocations: 31.92 kB / 0.8107 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.3468, allocations: 27.98 kB / 0.8107 GB, free: 2.668 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002633/0.3471, allocations: 201.8 kB / 0.8109 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3472, allocations: 43.44 kB / 0.8109 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.3481, allocations: 0.5189 MB / 0.8114 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3481, allocations: 4 kB / 0.8114 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3481, allocations: 0 / 0.8114 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.3481, allocations: 4 kB / 0.8114 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.35, allocations: 1.276 MB / 0.8127 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.35, allocations: 3.953 kB / 0.8127 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.3503, allocations: 67.84 kB / 0.8128 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.3507, allocations: 86.5 kB / 0.8128 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3508, allocations: 8 kB / 0.8128 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.354, allocations: 4.056 MB / 0.8168 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.354, allocations: 4 kB / 0.8168 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3551, allocations: 0.9142 MB / 0.8177 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3553, allocations: 152.5 kB / 0.8178 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.3554, allocations: 8 kB / 0.8179 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.3557, allocations: 27.91 kB / 0.8179 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.3558, allocations: 43.86 kB / 0.8179 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3558, allocations: 8 kB / 0.8179 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003039/0.3561, allocations: 279.1 kB / 0.8182 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3561, allocations: 0 / 0.8182 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007025/0.3569, allocations: 120 kB / 0.8183 GB, free: 10.19 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/0.3588, allocations: 2.22 MB / 0.8205 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.3602, allocations: 0.7978 MB / 0.8213 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3602, allocations: 0 / 0.8213 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.361, allocations: 0.5507 MB / 0.8218 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.3617, allocations: 126.9 kB / 0.8219 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.3677, allocations: 7.156 MB / 0.8289 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.3682, allocations: 0.8703 MB / 0.8298 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.3685, allocations: 104.5 kB / 0.8299 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.3687, allocations: 151.4 kB / 0.83 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.3687, allocations: 0 / 0.83 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.3926, allocations: 9.406 MB / 0.8392 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.3929, allocations: 210.9 kB / 0.8394 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.269, allocations: 0 / 0.8394 GB, free: 4.367 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: