Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001205/0.001206, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001195/0.001195, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 284.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 104.2 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4916, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004511/0.4962, allocations: 2.42 MB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.4987, allocations: 1.418 MB / 0.7708 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.499, allocations: 4 kB / 0.7708 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.4998, allocations: 167.3 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.5003, allocations: 135.3 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.5008, allocations: 191.5 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.5012, allocations: 211.3 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.5016, allocations: 128.7 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.5018, allocations: 91.67 kB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.5021, allocations: 103.6 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.5021, allocations: 12 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.5025, allocations: 179.7 kB / 0.772 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.5026, allocations: 67.8 kB / 0.772 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.5027, allocations: 75.59 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.5032, allocations: 281.7 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5032, allocations: 0 / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5032, allocations: 4 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.5033, allocations: 0 / 0.7724 GB, free: 14.43 MB / 0.545 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.0009616/0.5042, allocations: 479.1 kB / 0.7728 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5043, allocations: 8.031 kB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.5049, allocations: 56.69 kB / 0.7729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.5053, allocations: 232 kB / 0.7731 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.5053, allocations: 12.66 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.5054, allocations: 20.36 kB / 0.7731 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.5059, allocations: 275.6 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5059, allocations: 3.938 kB / 0.7734 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.506, allocations: 11.98 kB / 0.7734 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.506, allocations: 20.23 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.5064, allocations: 210.3 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.5081, allocations: 1.58 MB / 0.7752 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.5086, allocations: 315.3 kB / 0.7755 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.5087, allocations: 69.61 kB / 0.7756 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.5087, allocations: 4 kB / 0.7756 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.5087, allocations: 30.56 kB / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.5087, allocations: 0 / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005996/0.5093, allocations: 252.8 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5094, allocations: 81.14 kB / 0.7759 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.5096, allocations: 196 kB / 0.7761 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5097, allocations: 25.7 kB / 0.7761 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5098, allocations: 155.6 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.5098, allocations: 39.45 kB / 0.7763 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.5099, allocations: 45.7 kB / 0.7763 GB, free: 9.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.51, allocations: 326.8 kB / 0.7767 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5102, allocations: 76.75 kB / 0.7767 GB, free: 9.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.5103, allocations: 147.1 kB / 0.7769 GB, free: 9.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.5106, allocations: 238.8 kB / 0.7771 GB, free: 9.113 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5106, allocations: 4 kB / 0.7771 GB, free: 9.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003932/0.511, allocations: 257.3 kB / 0.7773 GB, free: 8.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5111, allocations: 4 kB / 0.7773 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5111, allocations: 4 kB / 0.7774 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5111, allocations: 7.938 kB / 0.7774 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5113, allocations: 59.89 kB / 0.7774 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5113, allocations: 4 kB / 0.7774 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.5115, allocations: 19.92 kB / 0.7774 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.5115, allocations: 11.94 kB / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001702/0.5117, allocations: 168 kB / 0.7776 GB, free: 8.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001442/0.5119, allocations: 140.2 kB / 0.7777 GB, free: 8.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002433/0.5121, allocations: 223.7 kB / 0.778 GB, free: 8.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.5121, allocations: 0 / 0.778 GB, free: 8.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003542/0.5125, allocations: 241.5 kB / 0.7782 GB, free: 7.891 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5125, allocations: 4 kB / 0.7782 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5125, allocations: 4 kB / 0.7782 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.5125, allocations: 4 kB / 0.7782 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.5127, allocations: 51.91 kB / 0.7783 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5127, allocations: 7.938 kB / 0.7783 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5128, allocations: 15.98 kB / 0.7783 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.5129, allocations: 8 kB / 0.7783 GB, free: 7.797 MB / 0.545 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.0001217/0.513, allocations: 195.6 kB / 0.7785 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.5131, allocations: 15.81 kB / 0.7785 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.5133, allocations: 147.4 kB / 0.7786 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5133, allocations: 3.938 kB / 0.7786 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5134, allocations: 4 kB / 0.7786 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5134, allocations: 0 / 0.7786 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009932/0.5144, allocations: 0.7195 MB / 0.7793 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5144, allocations: 12.06 kB / 0.7793 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5145, allocations: 31.91 kB / 0.7794 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5145, allocations: 4.344 kB / 0.7794 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.5145, allocations: 12 kB / 0.7794 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5145, allocations: 0 / 0.7794 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5145, allocations: 4.078 kB / 0.7794 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.5149, allocations: 378.3 kB / 0.7798 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.515, allocations: 108.9 kB / 0.7799 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.515, allocations: 8 kB / 0.7799 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.5152, allocations: 7.984 kB / 0.7799 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.5153, allocations: 19.88 kB / 0.7799 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5153, allocations: 8 kB / 0.7799 GB, free: 5.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001397/0.5154, allocations: 153.1 kB / 0.78 GB, free: 5.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5154, allocations: 3.938 kB / 0.7801 GB, free: 5.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005187/0.516, allocations: 64 kB / 0.7801 GB, free: 5.762 MB / 0.545 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.000178/0.5161, allocations: 107.2 kB / 0.7802 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.5166, allocations: 272.9 kB / 0.7805 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5166, allocations: 0 / 0.7805 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.5167, allocations: 68.53 kB / 0.7805 GB, free: 5.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.5172, allocations: 39.66 kB / 0.7806 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.518, allocations: 452.3 kB / 0.781 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.5182, allocations: 0.7363 MB / 0.7817 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.5183, allocations: 19.44 kB / 0.7817 GB, free: 4 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5183, allocations: 4 kB / 0.7818 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Templates: time 0.004466/0.5228, allocations: 2.235 MB / 0.7839 GB, free: 1.766 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)