Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008459/0.0008461, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007317/0.007317, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.923/1.923, allocations: 205.4 MB / 222.5 MB, free: 5.527 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.92/1.92, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005971/0.0005972, allocations: 17.88 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3084, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004034/0.3125, allocations: 2.142 MB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.316, allocations: 1.439 MB / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.3164, allocations: 0 / 0.7914 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.3167, allocations: 27.78 kB / 0.7914 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008764/0.3176, allocations: 119.6 kB / 0.7915 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009118/0.3185, allocations: 175.6 kB / 0.7917 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.3192, allocations: 319.1 kB / 0.792 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008191/0.3201, allocations: 230.3 kB / 0.7922 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.3204, allocations: 79.64 kB / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.3207, allocations: 95.66 kB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3208, allocations: 4 kB / 0.7924 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.3214, allocations: 219.6 kB / 0.7926 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3216, allocations: 59.8 kB / 0.7927 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3217, allocations: 93.31 kB / 0.7927 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.3223, allocations: 291 kB / 0.793 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3224, allocations: 0 / 0.793 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.532e-06/0.3224, allocations: 0 / 0.793 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3224, allocations: 3.938 kB / 0.793 GB, free: 6.238 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.0008366/0.3232, allocations: 439.3 kB / 0.7934 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.38e-05/0.3233, allocations: 16.02 kB / 0.7935 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.324, allocations: 56.69 kB / 0.7935 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3243, allocations: 230.9 kB / 0.7937 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3243, allocations: 12.59 kB / 0.7937 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.3244, allocations: 12.38 kB / 0.7938 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.3249, allocations: 287.6 kB / 0.794 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3249, allocations: 0 / 0.794 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.325, allocations: 8 kB / 0.794 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.325, allocations: 16.22 kB / 0.7941 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3254, allocations: 208.5 kB / 0.7943 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3272, allocations: 1.576 MB / 0.7958 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.3277, allocations: 331.2 kB / 0.7961 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3278, allocations: 61.69 kB / 0.7962 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3278, allocations: 3.984 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3279, allocations: 34.56 kB / 0.7962 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.3279, allocations: 0 / 0.7962 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006772/0.3286, allocations: 256.6 kB / 0.7964 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3286, allocations: 77.11 kB / 0.7965 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3289, allocations: 200.5 kB / 0.7967 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3289, allocations: 25.7 kB / 0.7967 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.329, allocations: 155.6 kB / 0.7969 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.329, allocations: 39.48 kB / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.3291, allocations: 25.7 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3292, allocations: 327 kB / 0.7973 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3294, allocations: 67.95 kB / 0.7973 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3295, allocations: 155 kB / 0.7975 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.3299, allocations: 234.9 kB / 0.7977 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3299, allocations: 0 / 0.7977 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003952/0.3303, allocations: 265.2 kB / 0.7979 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3304, allocations: 179.4 kB / 0.7981 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3305, allocations: 4 kB / 0.7981 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3305, allocations: 4 kB / 0.7981 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3307, allocations: 47.91 kB / 0.7982 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.3308, allocations: 8 kB / 0.7982 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3309, allocations: 19.92 kB / 0.7982 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.331, allocations: 12 kB / 0.7982 GB, free: 424 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.331, allocations: 4 kB / 0.7982 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003227/0.3313, allocations: 191.9 kB / 0.7984 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3313, allocations: 8.062 kB / 0.7984 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/0.3313, allocations: 4 kB / 0.7984 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.3315, allocations: 51.91 kB / 0.7985 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3315, allocations: 4 kB / 0.7985 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3316, allocations: 15.92 kB / 0.7985 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3317, allocations: 12 kB / 0.7985 GB, free: 132 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.3319, allocations: 217 kB / 0.7987 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.332, allocations: 15.94 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3323, allocations: 154.9 kB / 0.7989 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.3323, allocations: 8 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3323, allocations: 3.938 kB / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3323, allocations: 0 / 0.7989 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3334, allocations: 0.7196 MB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3334, allocations: 0 / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3335, allocations: 31.86 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3335, allocations: 4 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3335, allocations: 4 kB / 0.7996 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.3335, allocations: 7.984 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3336, allocations: 352 / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.3339, allocations: 382.3 kB / 0.8 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.334, allocations: 104.9 kB / 0.8001 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.3341, allocations: 7.984 kB / 0.8001 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3343, allocations: 15.94 kB / 0.8001 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3343, allocations: 19.86 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3343, allocations: 4 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001505/0.3345, allocations: 152.8 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3345, allocations: 0 / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005515/0.335, allocations: 68 kB / 0.8003 GB, free: 14.06 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 (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.0003111/0.3354, allocations: 115.1 kB / 0.8005 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.3359, allocations: 263.5 kB / 0.8007 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.3359, allocations: 0 / 0.8007 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.336, allocations: 65.41 kB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.3366, allocations: 32.59 kB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.3375, allocations: 495.1 kB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.3379, allocations: 0.7324 MB / 0.802 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.3381, allocations: 73.5 kB / 0.8021 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3382, allocations: 19.44 kB / 0.8021 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 3.566e-06/0.3382, allocations: 0 / 0.8021 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.005929/0.3442, allocations: 1.669 MB / 0.8037 GB, free: 10.54 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: