Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.001054/0.001054, allocations: 187.6 kB / 330.8 MB, free: 480 kB / 250.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.772/1.772, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.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.0008201/0.0008202, allocations: 105.7 kB / 0.709 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 8.531 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003378/0.2427, allocations: 3.283 MB / 0.936 GB, free: 2.949 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002498/0.2453, allocations: 2.774 MB / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.2455, allocations: 15.88 kB / 0.9387 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.2458, allocations: 59.48 kB / 0.9388 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007332/0.2465, allocations: 274.7 kB / 0.939 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.2471, allocations: 239.6 kB / 0.9392 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000748/0.2478, allocations: 0.7336 MB / 0.94 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.2486, allocations: 448 kB / 0.9404 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.2489, allocations: 207 kB / 0.9406 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.2492, allocations: 215 kB / 0.9408 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.2493, allocations: 15.94 kB / 0.9408 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.2499, allocations: 331.3 kB / 0.9411 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2501, allocations: 103.7 kB / 0.9412 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.2503, allocations: 220.5 kB / 0.9414 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.251, allocations: 0.5841 MB / 0.942 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.251, allocations: 0 / 0.942 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/0.251, allocations: 0 / 0.942 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.251, allocations: 4 kB / 0.942 GB, free: 12.45 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001119/0.2521, allocations: 0.6662 MB / 0.9427 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2522, allocations: 15.98 kB / 0.9427 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.2531, allocations: 140.2 kB / 0.9428 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.2536, allocations: 371.6 kB / 0.9432 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2536, allocations: 25.02 kB / 0.9432 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.2537, allocations: 28.38 kB / 0.9432 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.2546, allocations: 0.5589 MB / 0.9438 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2546, allocations: 0 / 0.9438 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.2547, allocations: 16 kB / 0.9438 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.2547, allocations: 44.47 kB / 0.9438 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.2554, allocations: 413.8 kB / 0.9442 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.2585, allocations: 3.33 MB / 0.9475 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2592, allocations: 352.1 kB / 0.9478 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.2595, allocations: 180.8 kB / 0.948 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2596, allocations: 4 kB / 0.948 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2596, allocations: 34.56 kB / 0.948 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=26): time 2.855e-06/0.2596, allocations: 0 / 0.948 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=27): time 0.002117/0.2617, allocations: 1.081 MB / 0.9491 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2618, allocations: 59.64 kB / 0.9491 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.2621, allocations: 341.5 kB / 0.9494 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2622, allocations: 29.7 kB / 0.9495 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.2623, allocations: 247.5 kB / 0.9497 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.2624, allocations: 90.75 kB / 0.9498 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.2625, allocations: 8 kB / 0.9498 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2626, allocations: 346.8 kB / 0.9501 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.2629, allocations: 152.8 kB / 0.9503 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2632, allocations: 294.5 kB / 0.9506 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.2639, allocations: 496.1 kB / 0.951 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2639, allocations: 0 / 0.951 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009611/0.2649, allocations: 0.5759 MB / 0.9516 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2649, allocations: 11.91 kB / 0.9516 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2649, allocations: 4 kB / 0.9516 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.2652, allocations: 86.52 kB / 0.9517 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2656, allocations: 91.88 kB / 0.9518 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.2656, allocations: 16.12 kB / 0.9518 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2659, allocations: 31.91 kB / 0.9518 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2659, allocations: 23.92 kB / 0.9519 GB, free: 1.672 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.2662, allocations: 178.3 kB / 0.952 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.2662, allocations: 43.53 kB / 0.9521 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008748/0.2671, allocations: 472.7 kB / 0.9525 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2671, allocations: 0 / 0.9525 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2671, allocations: 4 kB / 0.9525 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2671, allocations: 3.984 kB / 0.9525 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.2686, allocations: 0.9771 MB / 0.9535 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2686, allocations: 4 kB / 0.9535 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2689, allocations: 47.91 kB / 0.9535 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.2691, allocations: 82.5 kB / 0.9536 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2691, allocations: 4 kB / 0.9536 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.2692, allocations: 4 kB / 0.9536 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2692, allocations: 32 / 0.9536 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009099/0.2701, allocations: 0.5559 MB / 0.9542 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2702, allocations: 136.6 kB / 0.9543 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.2703, allocations: 11.94 kB / 0.9543 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.2705, allocations: 23.97 kB / 0.9543 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.2706, allocations: 27.89 kB / 0.9543 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2707, allocations: 8 kB / 0.9544 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002348/0.2709, allocations: 239.2 kB / 0.9546 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2709, allocations: 0 / 0.9546 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004351/0.2714, allocations: 88 kB / 0.9547 GB, free: 14.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.2715, allocations: 111.7 kB / 0.9548 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009157/0.2725, allocations: 0.6401 MB / 0.9554 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2725, allocations: 0 / 0.9554 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.2729, allocations: 439.2 kB / 0.9558 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.2736, allocations: 121.6 kB / 0.9559 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.275, allocations: 0.8959 MB / 0.9568 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.2755, allocations: 0.8237 MB / 0.9576 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.2758, allocations: 83.34 kB / 0.9577 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.2758, allocations: 27.44 kB / 0.9577 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2759, allocations: 0 / 0.9577 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.0101/0.286, allocations: 4.464 MB / 0.9621 GB, free: 6.855 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)