Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.931/1.931, allocations: 292.6 MB / 307.8 MB, free: 7.086 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 185 kB / 376.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.7 MB / 0.655 GB, free: 13.14 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 97.19 kB / 0.7711 GB, free: 50.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 12 kB / 0.897 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.822, allocations: 118.2 MB / 1.012 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002953/0.825, allocations: 2.067 MB / 1.014 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.8272, allocations: 1.31 MB / 1.016 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.8273, allocations: 2.969 kB / 1.016 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.8275, allocations: 29.05 kB / 1.016 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.8279, allocations: 113.2 kB / 1.016 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.8284, allocations: 160.5 kB / 1.016 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.8287, allocations: 261 kB / 1.016 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.8291, allocations: 230.4 kB / 1.016 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.8293, allocations: 72.66 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.8295, allocations: 101.3 kB / 1.017 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.8296, allocations: 6.375 kB / 1.017 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.8299, allocations: 207.8 kB / 1.017 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.83, allocations: 61.41 kB / 1.017 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.8301, allocations: 91.23 kB / 1.017 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.8304, allocations: 215 kB / 1.017 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8304, allocations: 1.094 kB / 1.017 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8304, allocations: 0 / 1.017 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8304, allocations: 0 / 1.017 GB, free: 56.96 MB / 0.7136 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.0006041/0.831, allocations: 450.7 kB / 1.018 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.831, allocations: 6.438 kB / 1.018 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.8316, allocations: 61.84 kB / 1.018 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.8318, allocations: 233.1 kB / 1.018 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8319, allocations: 14.19 kB / 1.018 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.8319, allocations: 14.67 kB / 1.018 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.8323, allocations: 282.1 kB / 1.018 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.8324, allocations: 0 / 1.018 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.8324, allocations: 6.812 kB / 1.018 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.8324, allocations: 19.36 kB / 1.018 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.8327, allocations: 210.2 kB / 1.018 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.8341, allocations: 1.579 MB / 1.02 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.8345, allocations: 325 kB / 1.02 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.8346, allocations: 65.11 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.8346, allocations: 0 / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.8346, allocations: 34.84 kB / 1.02 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/0.8346, allocations: 1.094 kB / 1.02 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005191/0.8351, allocations: 244.3 kB / 1.021 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8352, allocations: 85.94 kB / 1.021 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.8354, allocations: 193 kB / 1.021 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.8354, allocations: 33.45 kB / 1.021 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.8355, allocations: 160.6 kB / 1.021 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.8355, allocations: 38.08 kB / 1.021 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.8355, allocations: 0 / 1.021 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.8356, allocations: 326.9 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.553e-05/0.8357, allocations: 67.11 kB / 1.021 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.8358, allocations: 152.2 kB / 1.022 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.8361, allocations: 228.2 kB / 1.022 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.8361, allocations: 2.969 kB / 1.022 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003105/0.8364, allocations: 257.2 kB / 1.022 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.8365, allocations: 180.1 kB / 1.022 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8365, allocations: 2.688 kB / 1.022 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.8365, allocations: 3.844 kB / 1.022 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.8367, allocations: 60.88 kB / 1.022 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.8368, allocations: 3.5 kB / 1.022 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.8369, allocations: 16.59 kB / 1.022 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.8369, allocations: 9.281 kB / 1.022 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/0.8369, allocations: 5.75 kB / 1.022 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002518/0.8372, allocations: 197.9 kB / 1.023 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.8372, allocations: 0 / 1.023 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.8372, allocations: 8.906 kB / 1.023 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.8374, allocations: 47.45 kB / 1.023 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.8374, allocations: 3.719 kB / 1.023 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.8375, allocations: 14.48 kB / 1.023 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.8375, allocations: 15.03 kB / 1.023 GB, free: 53.39 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.8376, allocations: 220.6 kB / 1.023 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.8377, allocations: 16.3 kB / 1.023 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.8379, allocations: 152.6 kB / 1.023 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8379, allocations: 2.938 kB / 1.023 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.8379, allocations: 3.938 kB / 1.023 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.8379, allocations: 0.9375 kB / 1.023 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.8387, allocations: 0.719 MB / 1.024 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.8387, allocations: 3.312 kB / 1.024 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.8388, allocations: 28.06 kB / 1.024 GB, free: 52.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8388, allocations: 9.828 kB / 1.024 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8388, allocations: 4.906 kB / 1.024 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.8388, allocations: 4.781 kB / 1.024 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.8388, allocations: 3.906 kB / 1.024 GB, free: 52.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.8391, allocations: 371.1 kB / 1.024 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.8392, allocations: 113.4 kB / 1.024 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.8392, allocations: 10.19 kB / 1.024 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.8394, allocations: 12.09 kB / 1.024 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.8394, allocations: 19.7 kB / 1.024 GB, free: 52.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.8394, allocations: 5.844 kB / 1.024 GB, free: 52.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.852e-05/0.8395, allocations: 151 kB / 1.024 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8395, allocations: 0 / 1.024 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004759/0.84, allocations: 70.53 kB / 1.024 GB, free: 52.18 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.8402, allocations: 114.3 kB / 1.025 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.8406, allocations: 261.6 kB / 1.025 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8406, allocations: 448 / 1.025 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.8407, allocations: 58.38 kB / 1.025 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.8412, allocations: 32.81 kB / 1.025 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.8418, allocations: 0.5002 MB / 1.025 GB, free: 51.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.842, allocations: 0.7388 MB / 1.026 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.8422, allocations: 74.98 kB / 1.026 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.8423, allocations: 16.09 kB / 1.026 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.8423, allocations: 0 / 1.026 GB, free: 51.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.004174/0.8465, allocations: 1.636 MB / 1.028 GB, free: 50.94 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)