Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007261/0.007261, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001692/0.001692, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 288.5 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9876/0.9876, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 95.84 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3964, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004286/0.4008, allocations: 3.2 MB / 0.7695 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.4032, allocations: 1.356 MB / 0.7708 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.4033, allocations: 11.94 kB / 0.7708 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.4043, allocations: 338.7 kB / 0.7712 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.4047, allocations: 143.2 kB / 0.7713 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.405, allocations: 151.6 kB / 0.7714 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.4054, allocations: 330.6 kB / 0.7717 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.4058, allocations: 259.4 kB / 0.772 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.406, allocations: 135.5 kB / 0.7721 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.4063, allocations: 147.4 kB / 0.7723 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.4063, allocations: 20 kB / 0.7723 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.4066, allocations: 171.6 kB / 0.7724 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.4067, allocations: 83.8 kB / 0.7725 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.4068, allocations: 127.3 kB / 0.7726 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.4073, allocations: 352.6 kB / 0.773 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4073, allocations: 0 / 0.773 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4073, allocations: 0 / 0.773 GB, free: 13.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4073, allocations: 0 / 0.773 GB, free: 13.11 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007854/0.4081, allocations: 0.5493 MB / 0.7735 GB, free: 12.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4081, allocations: 12.03 kB / 0.7735 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005663/0.4087, allocations: 84.66 kB / 0.7736 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.409, allocations: 262.3 kB / 0.7739 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.409, allocations: 12.81 kB / 0.7739 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.4091, allocations: 20.38 kB / 0.7739 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.4096, allocations: 320.6 kB / 0.7742 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4096, allocations: 0 / 0.7742 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.4096, allocations: 8 kB / 0.7742 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.4096, allocations: 16.44 kB / 0.7742 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.41, allocations: 213.6 kB / 0.7744 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.4114, allocations: 1.498 MB / 0.7759 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.4118, allocations: 211.5 kB / 0.7761 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.4119, allocations: 40.84 kB / 0.7761 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.412, allocations: 7.984 kB / 0.7761 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.412, allocations: 38.56 kB / 0.7762 GB, free: 9.531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.412, allocations: 0 / 0.7762 GB, free: 9.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005242/0.4125, allocations: 259.4 kB / 0.7764 GB, free: 9.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4126, allocations: 55.41 kB / 0.7765 GB, free: 9.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4128, allocations: 207.8 kB / 0.7767 GB, free: 8.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4128, allocations: 29.7 kB / 0.7767 GB, free: 8.938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.4129, allocations: 172 kB / 0.7769 GB, free: 8.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.4129, allocations: 35.73 kB / 0.7769 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.413, allocations: 29.72 kB / 0.7769 GB, free: 8.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4131, allocations: 330.8 kB / 0.7772 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.4132, allocations: 43.97 kB / 0.7773 GB, free: 8.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4133, allocations: 123.2 kB / 0.7774 GB, free: 8.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4136, allocations: 164.4 kB / 0.7776 GB, free: 7.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4136, allocations: 0 / 0.7776 GB, free: 7.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000354/0.4139, allocations: 218.1 kB / 0.7778 GB, free: 7.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.414, allocations: 8 kB / 0.7778 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.414, allocations: 4 kB / 0.7778 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.4141, allocations: 29.06 kB / 0.7778 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4143, allocations: 39.86 kB / 0.7778 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.4153, allocations: 1.421 MB / 0.7792 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4154, allocations: 19.88 kB / 0.7793 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.4154, allocations: 12 kB / 0.7793 GB, free: 6.078 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.4156, allocations: 155.4 kB / 0.7794 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4156, allocations: 23.78 kB / 0.7794 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.4157, allocations: 17.47 kB / 0.7795 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4157, allocations: 4 kB / 0.7795 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4157, allocations: 0 / 0.7795 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4157, allocations: 7.969 kB / 0.7795 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.4163, allocations: 483.2 kB / 0.7799 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4163, allocations: 0 / 0.7799 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.4163, allocations: 11.94 kB / 0.7799 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-05/0.4164, allocations: 32.83 kB / 0.78 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4164, allocations: 4.062 kB / 0.78 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009202/0.4174, allocations: 1.421 MB / 0.7814 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4174, allocations: 3.984 kB / 0.7814 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.4177, allocations: 236.2 kB / 0.7816 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.4178, allocations: 97 kB / 0.7817 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.4178, allocations: 8.078 kB / 0.7817 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4179, allocations: 8 kB / 0.7817 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.418, allocations: 7.984 kB / 0.7817 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.418, allocations: 7.938 kB / 0.7817 GB, free: 3.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001205/0.4181, allocations: 150.1 kB / 0.7819 GB, free: 3.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4181, allocations: 0 / 0.7819 GB, free: 3.184 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003124/0.4184, allocations: 67.72 kB / 0.7819 GB, free: 3.117 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.4185, allocations: 103.2 kB / 0.782 GB, free: 3.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.4189, allocations: 226.5 kB / 0.7822 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.419, allocations: 0 / 0.7822 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.4192, allocations: 162.7 kB / 0.7824 GB, free: 2.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4195, allocations: 37.88 kB / 0.7824 GB, free: 2.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.4201, allocations: 395.2 kB / 0.7828 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4204, allocations: 0.7593 MB / 0.7835 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.641e-05/0.4205, allocations: 33.69 kB / 0.7836 GB, free: 1.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.4205, allocations: 19.38 kB / 0.7836 GB, free: 1.316 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4206, allocations: 3.938 kB / 0.7836 GB, free: 1.312 MB / 0.545 GB Notification: Performance of Templates: time 0.004642/0.4252, allocations: 1.948 MB / 0.7855 GB, free: 15.39 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)