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.001523/0.001523, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001738/0.001738, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 293.1 kB / 291.4 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 0.9362/0.9362, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 91.11 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1435, allocations: 86.98 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003594/0.1471, allocations: 2.413 MB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1491, allocations: 1.422 MB / 0.6854 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.1492, allocations: 7.938 kB / 0.6854 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.1498, allocations: 170.3 kB / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1501, allocations: 131.5 kB / 0.6857 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1505, allocations: 183.5 kB / 0.6858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1508, allocations: 219.2 kB / 0.686 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.151, allocations: 125 kB / 0.6862 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1512, allocations: 87.67 kB / 0.6862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1514, allocations: 95.66 kB / 0.6863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1514, allocations: 12 kB / 0.6863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1517, allocations: 187.6 kB / 0.6865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.1518, allocations: 63.86 kB / 0.6866 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.1519, allocations: 71.61 kB / 0.6867 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.1522, allocations: 287.1 kB / 0.6869 GB, free: 1.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1522, allocations: 4 kB / 0.6869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1522, allocations: 7.938 kB / 0.6869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1522, allocations: 0 / 0.6869 GB, free: 1.949 MB / 494.1 MB 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.0005837/0.1528, allocations: 471.1 kB / 0.6874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1529, allocations: 8.031 kB / 0.6874 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005155/0.1534, allocations: 68.67 kB / 0.6875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1536, allocations: 224.1 kB / 0.6877 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1537, allocations: 12.59 kB / 0.6877 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1537, allocations: 24.36 kB / 0.6877 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1541, allocations: 279.6 kB / 0.688 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1541, allocations: 0 / 0.688 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1541, allocations: 8 kB / 0.688 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.1542, allocations: 20.22 kB / 0.688 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.1545, allocations: 205.2 kB / 0.6882 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2349/0.3894, allocations: 1.574 MB / 0.6897 GB, free: 17.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.3898, allocations: 320.5 kB / 0.69 GB, free: 16.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.3899, allocations: 66.38 kB / 0.6901 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3899, allocations: 1.5 kB / 0.6901 GB, free: 16.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.3899, allocations: 36.44 kB / 0.6901 GB, free: 16.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3899, allocations: 0 / 0.6901 GB, free: 16.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005218/0.3905, allocations: 244.8 kB / 0.6904 GB, free: 16.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.3905, allocations: 82.73 kB / 0.6905 GB, free: 16.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3907, allocations: 199.2 kB / 0.6906 GB, free: 16.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3907, allocations: 31.3 kB / 0.6907 GB, free: 16.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.3908, allocations: 152.4 kB / 0.6908 GB, free: 16.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3908, allocations: 35.78 kB / 0.6909 GB, free: 16.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.3909, allocations: 53.17 kB / 0.6909 GB, free: 16.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.3909, allocations: 325 kB / 0.6912 GB, free: 16.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.391, allocations: 77.36 kB / 0.6913 GB, free: 16.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3912, allocations: 154.2 kB / 0.6914 GB, free: 16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.3914, allocations: 232.8 kB / 0.6917 GB, free: 15.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3914, allocations: 1.062 kB / 0.6917 GB, free: 15.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000364/0.3918, allocations: 266.4 kB / 0.6919 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3918, allocations: 6.984 kB / 0.6919 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3918, allocations: 6.719 kB / 0.6919 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3918, allocations: 4.625 kB / 0.6919 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3921, allocations: 51.78 kB / 0.692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3921, allocations: 5.312 kB / 0.692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3922, allocations: 16.95 kB / 0.692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3923, allocations: 11.48 kB / 0.692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001333/0.3924, allocations: 166.2 kB / 0.6922 GB, free: 15.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00011/0.3925, allocations: 141 kB / 0.6923 GB, free: 15.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001875/0.3927, allocations: 216.3 kB / 0.6925 GB, free: 15.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.3927, allocations: 5.25 kB / 0.6925 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003187/0.393, allocations: 241.8 kB / 0.6927 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.3931, allocations: 6.625 kB / 0.6928 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3931, allocations: 3.375 kB / 0.6928 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.3931, allocations: 9.688 kB / 0.6928 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3933, allocations: 47.41 kB / 0.6928 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3933, allocations: 12.52 kB / 0.6928 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3934, allocations: 12.98 kB / 0.6928 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3934, allocations: 9.906 kB / 0.6928 GB, free: 15.37 MB / 494.1 MB 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 5.5e-05/0.3935, allocations: 192.7 kB / 0.693 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.3935, allocations: 15.12 kB / 0.693 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.3938, allocations: 151.4 kB / 0.6932 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3938, allocations: 1.312 kB / 0.6932 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3938, allocations: 3.469 kB / 0.6932 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3938, allocations: 1.078 kB / 0.6932 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.3946, allocations: 0.7196 MB / 0.6939 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.3946, allocations: 2.75 kB / 0.6939 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3947, allocations: 27.58 kB / 0.6939 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3947, allocations: 5.781 kB / 0.6939 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3948, allocations: 4.031 kB / 0.6939 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3948, allocations: 8.016 kB / 0.6939 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3948, allocations: 7.406 kB / 0.6939 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.395, allocations: 383.7 kB / 0.6943 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.3951, allocations: 105.4 kB / 0.6944 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.3951, allocations: 4 kB / 0.6944 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3953, allocations: 12.7 kB / 0.6944 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.3953, allocations: 16.3 kB / 0.6944 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3954, allocations: 10.97 kB / 0.6945 GB, free: 14.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3955, allocations: 148.8 kB / 0.6946 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 1.281 kB / 0.6946 GB, free: 13.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.396, allocations: 68.55 kB / 0.6947 GB, free: 13.98 MB / 494.1 MB 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 9.681e-05/0.3961, allocations: 111.5 kB / 0.6948 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.3965, allocations: 272.4 kB / 0.695 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3965, allocations: 0 / 0.695 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.3966, allocations: 66.42 kB / 0.6951 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.397, allocations: 33.5 kB / 0.6951 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3976, allocations: 415.3 kB / 0.6955 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3978, allocations: 0.7336 MB / 0.6962 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.398, allocations: 75.42 kB / 0.6963 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.398, allocations: 17.38 kB / 0.6963 GB, free: 12.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.398, allocations: 0.7812 kB / 0.6963 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Templates: time 0.004488/0.4025, allocations: 1.752 MB / 0.698 GB, free: 12.65 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)