Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.0009793/0.0009792, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001216/0.001216, allocations: 172.7 kB / 15.95 MB, free: 208 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.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.716/1.716, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005884/0.0005884, allocations: 13.75 kB / 0.6738 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3217, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004084/0.3259, allocations: 2.267 MB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.3292, allocations: 1.35 MB / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.3295, allocations: 0 / 0.7909 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3298, allocations: 31.78 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.3305, allocations: 99.55 kB / 0.7911 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.3314, allocations: 143.7 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3319, allocations: 251.2 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.3326, allocations: 226.4 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.3329, allocations: 75.64 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.3333, allocations: 99.64 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3333, allocations: 8 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.3337, allocations: 103.9 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.787e-05/0.3338, allocations: 59.84 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.3339, allocations: 57.58 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.3343, allocations: 203.5 kB / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3344, allocations: 0 / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3344, allocations: 0 / 0.7922 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3344, allocations: 0 / 0.7922 GB, free: 6.855 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009053/0.3353, allocations: 447 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3354, allocations: 11.97 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.3355, allocations: 54.53 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/0.3361, allocations: 67.69 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3364, allocations: 222.7 kB / 0.793 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3364, allocations: 8.281 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.3365, allocations: 16 kB / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.337, allocations: 275.7 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3371, allocations: 3.938 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.3371, allocations: 8 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.3371, allocations: 20.22 kB / 0.7933 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.3376, allocations: 208.5 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.3396, allocations: 1.576 MB / 0.7951 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.3401, allocations: 327.3 kB / 0.7954 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3402, allocations: 61.69 kB / 0.7954 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3402, allocations: 7.938 kB / 0.7954 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3403, allocations: 42.5 kB / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3403, allocations: 0 / 0.7955 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006809/0.341, allocations: 240.8 kB / 0.7957 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.341, allocations: 77.11 kB / 0.7958 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3413, allocations: 195.9 kB / 0.796 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3413, allocations: 29.69 kB / 0.796 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3414, allocations: 155.7 kB / 0.7961 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3414, allocations: 35.41 kB / 0.7962 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.3415, allocations: 4.188 kB / 0.7962 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3416, allocations: 330.8 kB / 0.7965 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3418, allocations: 67.91 kB / 0.7966 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.342, allocations: 166.3 kB / 0.7967 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3421, allocations: 83.97 kB / 0.7968 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3421, allocations: 4 kB / 0.7968 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004583/0.3426, allocations: 261.1 kB / 0.7971 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.3428, allocations: 171.7 kB / 0.7972 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.3428, allocations: 7.984 kB / 0.7972 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.3428, allocations: 4.047 kB / 0.7972 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3431, allocations: 55.89 kB / 0.7973 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.3431, allocations: 4 kB / 0.7973 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3433, allocations: 23.83 kB / 0.7973 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3433, allocations: 8 kB / 0.7973 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.3433, allocations: 4 kB / 0.7973 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003133/0.3437, allocations: 199.6 kB / 0.7975 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3437, allocations: 0 / 0.7975 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3437, allocations: 8 kB / 0.7975 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3439, allocations: 51.84 kB / 0.7976 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3439, allocations: 7.953 kB / 0.7976 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.344, allocations: 8.375 kB / 0.7976 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.344, allocations: 15.98 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001965/0.3442, allocations: 225 kB / 0.7978 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.3443, allocations: 15.81 kB / 0.7978 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.3446, allocations: 143 kB / 0.798 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.3446, allocations: 7.984 kB / 0.798 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3446, allocations: 3.953 kB / 0.798 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3446, allocations: 0 / 0.798 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3457, allocations: 0.708 MB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3457, allocations: 352 / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3458, allocations: 39.86 kB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3459, allocations: 4 kB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3459, allocations: 4 kB / 0.7987 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3459, allocations: 7.984 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3459, allocations: 7.938 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.3463, allocations: 366.3 kB / 0.7991 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3464, allocations: 108.9 kB / 0.7992 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3464, allocations: 15.92 kB / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3466, allocations: 8.125 kB / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.3467, allocations: 15.98 kB / 0.7992 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3467, allocations: 7.953 kB / 0.7992 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001564/0.3468, allocations: 153.4 kB / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3468, allocations: 0 / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005645/0.3474, allocations: 68 kB / 0.7994 GB, free: 14.83 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0008682/0.3483, allocations: 0.9262 MB / 0.8003 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.3488, allocations: 259.9 kB / 0.8006 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3488, allocations: 4 kB / 0.8006 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.3489, allocations: 61.41 kB / 0.8007 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.3494, allocations: 28.17 kB / 0.8007 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.3515, allocations: 1.135 MB / 0.8018 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.3521, allocations: 0.7441 MB / 0.8025 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.3523, allocations: 69.47 kB / 0.8026 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3524, allocations: 43.42 kB / 0.8026 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.3524, allocations: 0 / 0.8026 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.3705, allocations: 3.313 MB / 0.8059 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.3708, allocations: 228.1 kB / 0.8061 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.391, allocations: 0 / 0.8061 GB, free: 8.016 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: