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.001221/0.001221, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.001175/0.001175, allocations: 191.1 kB / 17.3 MB, free: 5.848 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.634/1.634, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.972/1.972, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001577/0.001577, allocations: 59.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2711, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005131/0.2763, allocations: 2.45 MB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5274/0.8037, allocations: 1.448 MB / 0.7886 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.8039, allocations: 3.75 kB / 0.7886 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006784/0.8047, allocations: 167.4 kB / 0.7888 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.805, allocations: 135.8 kB / 0.7889 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.8055, allocations: 178 kB / 0.7891 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.8058, allocations: 223.3 kB / 0.7893 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.8061, allocations: 117.4 kB / 0.7894 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.8062, allocations: 88.33 kB / 0.7895 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.8065, allocations: 102.5 kB / 0.7896 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.8065, allocations: 13.66 kB / 0.7896 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.8068, allocations: 185.1 kB / 0.7898 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.8069, allocations: 68.03 kB / 0.7898 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.807, allocations: 81.12 kB / 0.7899 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.8074, allocations: 278.3 kB / 0.7902 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8074, allocations: 1.125 kB / 0.7902 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8074, allocations: 2.625 kB / 0.7902 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.8074, allocations: 0 / 0.7902 GB, free: 46.65 MB / 0.6544 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.000679/0.8081, allocations: 484.1 kB / 0.7906 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8081, allocations: 7.875 kB / 0.7906 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005319/0.8087, allocations: 58.81 kB / 0.7907 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.8089, allocations: 229 kB / 0.7909 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.8089, allocations: 9.844 kB / 0.7909 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.809, allocations: 14.22 kB / 0.7909 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.8093, allocations: 283.8 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.8094, allocations: 6.531 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.8094, allocations: 6.75 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.8094, allocations: 18.03 kB / 0.7912 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.8097, allocations: 208.9 kB / 0.7914 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.8112, allocations: 1.58 MB / 0.793 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.8115, allocations: 316.5 kB / 0.7933 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.523e-05/0.8116, allocations: 63.12 kB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8116, allocations: 6.266 kB / 0.7934 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.8117, allocations: 34.91 kB / 0.7934 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 2.103e-06/0.8117, allocations: 3.375 kB / 0.7934 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0005609/0.8122, allocations: 244.1 kB / 0.7936 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.8123, allocations: 80.3 kB / 0.7937 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.8125, allocations: 198.5 kB / 0.7939 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8125, allocations: 31.08 kB / 0.7939 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.8126, allocations: 157.2 kB / 0.7941 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.8126, allocations: 32.97 kB / 0.7941 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-05/0.8127, allocations: 60.28 kB / 0.7942 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.8128, allocations: 321.3 kB / 0.7945 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.8129, allocations: 74.77 kB / 0.7945 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.813, allocations: 150.4 kB / 0.7947 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.8133, allocations: 237 kB / 0.7949 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8133, allocations: 4 kB / 0.7949 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003446/0.8137, allocations: 258.8 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8137, allocations: 6.406 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8137, allocations: 2.625 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8137, allocations: 3 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.8139, allocations: 63.22 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.814, allocations: 5.375 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.8141, allocations: 10.56 kB / 0.7952 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.8141, allocations: 14.67 kB / 0.7953 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001565/0.8143, allocations: 161.4 kB / 0.7954 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001247/0.8144, allocations: 157 kB / 0.7956 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002016/0.8147, allocations: 211.1 kB / 0.7958 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.8147, allocations: 7.406 kB / 0.7958 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003007/0.815, allocations: 239.2 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.815, allocations: 7 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.815, allocations: 5.781 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.815, allocations: 3.875 kB / 0.796 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.8152, allocations: 51.72 kB / 0.7961 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8152, allocations: 10.23 kB / 0.7961 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.8153, allocations: 19.45 kB / 0.7961 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.8153, allocations: 10.72 kB / 0.7961 GB, free: 42.97 MB / 0.6544 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 9.631e-05/0.8154, allocations: 196.1 kB / 0.7963 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.8155, allocations: 15.66 kB / 0.7963 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.8157, allocations: 140.1 kB / 0.7964 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.8157, allocations: 5.297 kB / 0.7964 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8157, allocations: 7.5 kB / 0.7964 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.8158, allocations: 98.33 kB / 0.7965 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.8158, allocations: 3.5 kB / 0.7965 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.816, allocations: 16.2 kB / 0.7966 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.8161, allocations: 6.641 kB / 0.7966 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002426/0.8163, allocations: 300.8 kB / 0.7969 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002153/0.8165, allocations: 392.1 kB / 0.7972 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.633e-05/0.8166, allocations: 50.09 kB / 0.7973 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001019/0.8167, allocations: 156.2 kB / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of Backend: time 6.21e-07/0.8167, allocations: 0 / 0.7974 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009228/0.8176, allocations: 389.8 kB / 0.7978 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006897/0.8183, allocations: 0.7722 MB / 0.7985 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.007676/0.826, allocations: 3.349 MB / 0.8018 GB, free: 41.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (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)