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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001361/0.001361, allocations: 200.5 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.544/2.544, allocations: 225.6 MB / 0.6001 GB, free: 2.129 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.001305/0.001305, allocations: 99.66 kB / 0.7074 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000803/0.0008038, allocations: 10.84 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2505, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003909/0.2545, allocations: 2.616 MB / 0.9333 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.2579, allocations: 1.618 MB / 0.9349 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2581, allocations: 7.938 kB / 0.9349 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.2584, allocations: 31.72 kB / 0.9349 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.259, allocations: 155.3 kB / 0.9351 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.2598, allocations: 187.5 kB / 0.9353 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.2604, allocations: 418.6 kB / 0.9357 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009872/0.2614, allocations: 386.6 kB / 0.936 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.2618, allocations: 127.5 kB / 0.9362 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.2622, allocations: 167.4 kB / 0.9363 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.2623, allocations: 12 kB / 0.9363 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.2628, allocations: 139.8 kB / 0.9365 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.2629, allocations: 87.7 kB / 0.9366 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.263, allocations: 69.58 kB / 0.9366 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.2636, allocations: 343.3 kB / 0.9369 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.2636, allocations: 0 / 0.9369 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2636, allocations: 4 kB / 0.9369 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2636, allocations: 4 kB / 0.937 GB, free: 18.72 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001511/0.2651, allocations: 0.602 MB / 0.9375 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2652, allocations: 12.03 kB / 0.9376 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.2663, allocations: 92.47 kB / 0.9376 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.2668, allocations: 279.6 kB / 0.9379 GB, free: 17.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2669, allocations: 16.75 kB / 0.9379 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.267, allocations: 24.38 kB / 0.9379 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.2682, allocations: 430.7 kB / 0.9384 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.2682, allocations: 0 / 0.9384 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2683, allocations: 8 kB / 0.9384 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.2684, allocations: 28.36 kB / 0.9384 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.2698, allocations: 416.7 kB / 0.9388 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.2722, allocations: 1.611 MB / 0.9404 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.2742, allocations: 481.1 kB / 0.9408 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.275, allocations: 209.5 kB / 0.941 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.2752, allocations: 93.09 kB / 0.9411 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/0.2761, allocations: 276.1 kB / 0.9414 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/0.2761, allocations: 0 / 0.9414 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28): time 0.003095/0.2792, allocations: 0.7777 MB / 0.9421 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2793, allocations: 81.11 kB / 0.9422 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2796, allocations: 232.9 kB / 0.9424 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2796, allocations: 29.7 kB / 0.9425 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2797, allocations: 172.4 kB / 0.9426 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2798, allocations: 98.59 kB / 0.9427 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.2799, allocations: 4 kB / 0.9427 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.28, allocations: 334.8 kB / 0.943 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.2807, allocations: 184.2 kB / 0.9432 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/0.2814, allocations: 250.7 kB / 0.9435 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.2822, allocations: 239 kB / 0.9437 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2822, allocations: 0 / 0.9437 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001928/0.2842, allocations: 0.5586 MB / 0.9442 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.2844, allocations: 183 kB / 0.9444 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.2844, allocations: 0 / 0.9444 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.2847, allocations: 48.83 kB / 0.9445 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.2855, allocations: 87.86 kB / 0.9445 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.2874, allocations: 1.501 MB / 0.946 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.2881, allocations: 55.78 kB / 0.9461 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.2882, allocations: 16.06 kB / 0.9461 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2882, allocations: 4 kB / 0.9461 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/0.29, allocations: 0.4983 MB / 0.9466 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2901, allocations: 4.25 kB / 0.9466 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.2904, allocations: 48.75 kB / 0.9466 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.291, allocations: 87.81 kB / 0.9467 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.2926, allocations: 1.486 MB / 0.9481 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.2932, allocations: 47.81 kB / 0.9482 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.2933, allocations: 16.11 kB / 0.9482 GB, free: 6.434 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.2936, allocations: 245 kB / 0.9484 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.2937, allocations: 23.72 kB / 0.9485 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.2955, allocations: 0.4896 MB / 0.9489 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2955, allocations: 4 kB / 0.9489 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2956, allocations: 3.938 kB / 0.9489 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.2956, allocations: 3.984 kB / 0.949 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.2965, allocations: 0.5623 MB / 0.9495 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2965, allocations: 0 / 0.9495 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.2972, allocations: 83.95 kB / 0.9496 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.2975, allocations: 36.83 kB / 0.9496 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.2976, allocations: 11.98 kB / 0.9496 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.2989, allocations: 1.417 MB / 0.951 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2989, allocations: 0 / 0.951 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3006, allocations: 0.5732 MB / 0.9516 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3009, allocations: 136.7 kB / 0.9517 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.3009, allocations: 8 kB / 0.9517 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.3015, allocations: 43.95 kB / 0.9517 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.3017, allocations: 27.95 kB / 0.9518 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3017, allocations: 15.94 kB / 0.9518 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002091/0.3019, allocations: 176.4 kB / 0.952 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/0.3019, allocations: 0 / 0.952 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000836/0.3028, allocations: 128 kB / 0.9521 GB, free: 2.199 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.303, allocations: 111.2 kB / 0.9522 GB, free: 2.082 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003069/0.3061, allocations: 1.008 MB / 0.9532 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.3062, allocations: 0 / 0.9532 GB, free: 1.023 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3072, allocations: 344.4 kB / 0.9535 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3079, allocations: 54.28 kB / 0.9536 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3096, allocations: 0.7332 MB / 0.9543 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.3101, allocations: 0.7878 MB / 0.955 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005764/0.3107, allocations: 94.19 kB / 0.9551 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3109, allocations: 35.42 kB / 0.9552 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.3109, allocations: 0 / 0.9552 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.0183/0.3293, allocations: 4.029 MB / 0.9591 GB, free: 10.89 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)