Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.543/2.543, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001305/0.001305, allocations: 194.6 kB / 329.5 MB, free: 1.16 MB / 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 2.464/2.464, allocations: 225.6 MB / 0.6001 GB, free: 2.117 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.0009312/0.0009309, allocations: 103.3 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007675/0.0007679, allocations: 16.53 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2618, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004736/0.2666, allocations: 3.267 MB / 0.934 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.2702, allocations: 1.677 MB / 0.9356 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.2707, allocations: 19.88 kB / 0.9356 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.271, allocations: 55.5 kB / 0.9357 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.2725, allocations: 222.8 kB / 0.9359 GB, free: 19.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2738, allocations: 187.6 kB / 0.9361 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.2754, allocations: 0.6438 MB / 0.9367 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.277, allocations: 358.4 kB / 0.937 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.2778, allocations: 191.1 kB / 0.9372 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007498/0.2786, allocations: 219 kB / 0.9374 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.2787, allocations: 12 kB / 0.9374 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.2796, allocations: 139.8 kB / 0.9376 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.2799, allocations: 107.6 kB / 0.9377 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.2801, allocations: 97.45 kB / 0.9378 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2811, allocations: 435.2 kB / 0.9382 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2812, allocations: 0 / 0.9382 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2812, allocations: 0 / 0.9382 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2812, allocations: 0 / 0.9382 GB, free: 17.46 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.002064/0.2833, allocations: 0.6701 MB / 0.9388 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.2834, allocations: 8.031 kB / 0.9388 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.2854, allocations: 140.2 kB / 0.939 GB, free: 16.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2861, allocations: 363.9 kB / 0.9393 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.2862, allocations: 21.03 kB / 0.9393 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.2863, allocations: 28.36 kB / 0.9394 GB, free: 16.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.2874, allocations: 0.5509 MB / 0.9399 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.2875, allocations: 15.84 kB / 0.9399 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-05/0.2875, allocations: 19.97 kB / 0.9399 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.052e-05/0.2876, allocations: 40.55 kB / 0.94 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2887, allocations: 413.8 kB / 0.9404 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.2922, allocations: 3.334 MB / 0.9436 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.2932, allocations: 338.4 kB / 0.944 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.2937, allocations: 190.5 kB / 0.9441 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.2938, allocations: 0 / 0.9441 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2938, allocations: 34.56 kB / 0.9442 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.2938, allocations: 0 / 0.9442 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=27): time 0.003057/0.2969, allocations: 1.08 MB / 0.9452 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2969, allocations: 59.58 kB / 0.9453 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2974, allocations: 341.5 kB / 0.9456 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2974, allocations: 29.7 kB / 0.9456 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2976, allocations: 243.5 kB / 0.9459 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.2977, allocations: 98.64 kB / 0.946 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.2977, allocations: 8 kB / 0.946 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.2978, allocations: 350.8 kB / 0.9463 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.2982, allocations: 152.8 kB / 0.9464 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.2987, allocations: 290.5 kB / 0.9467 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.2993, allocations: 198.9 kB / 0.9469 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2993, allocations: 0 / 0.9469 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001565/0.3009, allocations: 0.5697 MB / 0.9475 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3009, allocations: 8 kB / 0.9475 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3009, allocations: 4 kB / 0.9475 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.3014, allocations: 98.44 kB / 0.9476 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.3021, allocations: 88.17 kB / 0.9477 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3021, allocations: 19.86 kB / 0.9477 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.3026, allocations: 35.97 kB / 0.9477 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.3027, allocations: 20 kB / 0.9477 GB, free: 7.043 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.3029, allocations: 171.2 kB / 0.9479 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.303, allocations: 43.52 kB / 0.9479 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.3044, allocations: 477.4 kB / 0.9484 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3044, allocations: 4 kB / 0.9484 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3045, allocations: 0 / 0.9484 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3045, allocations: 4 kB / 0.9484 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.3066, allocations: 0.9753 MB / 0.9494 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3067, allocations: 0 / 0.9494 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.3071, allocations: 55.95 kB / 0.9494 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.3076, allocations: 78.45 kB / 0.9495 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.3076, allocations: 8 kB / 0.9495 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3076, allocations: 96 / 0.9495 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3077, allocations: 4 kB / 0.9495 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.309, allocations: 0.554 MB / 0.95 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.3092, allocations: 136.6 kB / 0.9502 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.3093, allocations: 11.98 kB / 0.9502 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.3098, allocations: 27.91 kB / 0.9502 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-05/0.3099, allocations: 19.97 kB / 0.9502 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3099, allocations: 12 kB / 0.9502 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002914/0.3102, allocations: 231.2 kB / 0.9505 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3102, allocations: 0 / 0.9505 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005619/0.3108, allocations: 84 kB / 0.9505 GB, free: 4.02 MB / 0.5886 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.311, allocations: 115.2 kB / 0.9506 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3123, allocations: 0.647 MB / 0.9513 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3123, allocations: 0 / 0.9513 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.313, allocations: 446.6 kB / 0.9517 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3141, allocations: 119.5 kB / 0.9518 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.3157, allocations: 0.8674 MB / 0.9527 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3161, allocations: 0.8276 MB / 0.9535 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004442/0.3165, allocations: 79.34 kB / 0.9535 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.3167, allocations: 27.44 kB / 0.9536 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.3167, allocations: 0 / 0.9536 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of Templates: time 0.01468/0.3314, allocations: 4.319 MB / 0.9578 GB, free: 12.4 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)