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.001142/0.001142, allocations: 102.1 kB / 16.41 MB, free: 6.488 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.001269/0.00127, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 292.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.973/0.973, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003727/0.003727, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5647, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004486/0.5693, allocations: 2.409 MB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.5718, allocations: 1.418 MB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.5721, allocations: 4 kB / 0.7708 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.5729, allocations: 175.4 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004748/0.5734, allocations: 139.3 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.574, allocations: 183.5 kB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.5744, allocations: 219.3 kB / 0.7715 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.5747, allocations: 120.7 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.5749, allocations: 91.67 kB / 0.7717 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.5753, allocations: 103.6 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.5753, allocations: 12 kB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.5757, allocations: 179.7 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.5758, allocations: 67.8 kB / 0.772 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.576, allocations: 79.55 kB / 0.7721 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.5766, allocations: 277.8 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5766, allocations: 0 / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5766, allocations: 4 kB / 0.7724 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.5766, allocations: 4 kB / 0.7724 GB, free: 14.44 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.0009894/0.5776, allocations: 471.2 kB / 0.7728 GB, free: 13.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5777, allocations: 8.031 kB / 0.7728 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.5783, allocations: 64.67 kB / 0.7729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.5787, allocations: 234.8 kB / 0.7731 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5787, allocations: 12.59 kB / 0.7731 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.5788, allocations: 12.38 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/0.5793, allocations: 291.5 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.5794, allocations: 0 / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5794, allocations: 4 kB / 0.7734 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.5795, allocations: 24.22 kB / 0.7734 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.5799, allocations: 208.2 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.5818, allocations: 1.58 MB / 0.7752 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.5823, allocations: 323.2 kB / 0.7755 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.5825, allocations: 61.69 kB / 0.7756 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.5825, allocations: 4 kB / 0.7756 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5825, allocations: 30.56 kB / 0.7756 GB, free: 10.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.5825, allocations: 0 / 0.7756 GB, free: 10.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006481/0.5832, allocations: 245.1 kB / 0.7758 GB, free: 10.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.5833, allocations: 81.3 kB / 0.7759 GB, free: 10.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.5835, allocations: 196 kB / 0.7761 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.5835, allocations: 33.7 kB / 0.7761 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.5836, allocations: 151.6 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.5837, allocations: 39.39 kB / 0.7763 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.5838, allocations: 49.7 kB / 0.7763 GB, free: 9.992 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5839, allocations: 322.8 kB / 0.7767 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.584, allocations: 80.81 kB / 0.7767 GB, free: 9.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5842, allocations: 149.5 kB / 0.7769 GB, free: 9.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.5845, allocations: 234.9 kB / 0.7771 GB, free: 9.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5845, allocations: 4 kB / 0.7771 GB, free: 9.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004254/0.585, allocations: 257.4 kB / 0.7773 GB, free: 8.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.585, allocations: 6.5 kB / 0.7774 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.585, allocations: 8 kB / 0.7774 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.5851, allocations: 7.938 kB / 0.7774 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.5853, allocations: 51.91 kB / 0.7774 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.5853, allocations: 8.016 kB / 0.7774 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.5855, allocations: 19.92 kB / 0.7774 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.5855, allocations: 15.98 kB / 0.7775 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002001/0.5857, allocations: 164 kB / 0.7776 GB, free: 8.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001474/0.5859, allocations: 151.4 kB / 0.7778 GB, free: 8.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002681/0.5862, allocations: 223.8 kB / 0.778 GB, free: 8.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.5862, allocations: 0 / 0.778 GB, free: 8.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003795/0.5866, allocations: 245.4 kB / 0.7782 GB, free: 7.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5866, allocations: 4 kB / 0.7782 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5866, allocations: 4 kB / 0.7782 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.5866, allocations: 4 kB / 0.7782 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.5868, allocations: 47.86 kB / 0.7783 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5868, allocations: 15.92 kB / 0.7783 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.5869, allocations: 8 kB / 0.7783 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.5869, allocations: 12 kB / 0.7783 GB, free: 7.809 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.0001235/0.5871, allocations: 192.3 kB / 0.7785 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.5871, allocations: 19.81 kB / 0.7785 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.5874, allocations: 143 kB / 0.7786 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5875, allocations: 7.938 kB / 0.7786 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5875, allocations: 0 / 0.7786 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5875, allocations: 4.031 kB / 0.7786 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5885, allocations: 0.7273 MB / 0.7794 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5886, allocations: 3.938 kB / 0.7794 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5887, allocations: 27.92 kB / 0.7794 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.5887, allocations: 4 kB / 0.7794 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5887, allocations: 4.344 kB / 0.7794 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5887, allocations: 8 kB / 0.7794 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5887, allocations: 0 / 0.7794 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.5891, allocations: 382.3 kB / 0.7798 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.925e-05/0.5892, allocations: 104.9 kB / 0.7799 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.5892, allocations: 4 kB / 0.7799 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.5894, allocations: 11.98 kB / 0.7799 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.5895, allocations: 23.86 kB / 0.7799 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5895, allocations: 4 kB / 0.7799 GB, free: 5.992 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001301/0.5896, allocations: 149.1 kB / 0.7801 GB, free: 5.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5896, allocations: 0 / 0.7801 GB, free: 5.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005293/0.5901, allocations: 68 kB / 0.7801 GB, free: 5.781 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.0001632/0.5903, allocations: 107.2 kB / 0.7802 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005039/0.5908, allocations: 275.5 kB / 0.7805 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5908, allocations: 1.562 kB / 0.7805 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.5909, allocations: 60.28 kB / 0.7805 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.5914, allocations: 46.88 kB / 0.7806 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.5923, allocations: 456.3 kB / 0.781 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.5927, allocations: 0.7285 MB / 0.7817 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.216e-05/0.5927, allocations: 23.42 kB / 0.7818 GB, free: 4.016 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5927, allocations: 0 / 0.7818 GB, free: 4.016 MB / 0.545 GB Notification: Performance of Templates: time 0.004857/0.5976, allocations: 2.219 MB / 0.7839 GB, free: 1.801 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)