Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8772/0.8772, allocations: 177.2 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.811/1.811, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.415e-05, allocations: 6.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004578/0.004593, allocations: 3.583 MB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.007122, allocations: 1.746 MB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.007329, allocations: 27.75 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.008037, allocations: 262.6 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.008583, allocations: 326.1 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.009018, allocations: 258.8 kB / 1.007 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.00944, allocations: 0.6205 MB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.009729, allocations: 234.6 kB / 1.008 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.01003, allocations: 339.1 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.01029, allocations: 203.4 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.01032, allocations: 32 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.01056, allocations: 247.3 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.01066, allocations: 131.5 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.01076, allocations: 147.6 kB / 1.009 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.01118, allocations: 0.6035 MB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.01119, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01119, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.01119, allocations: 0 / 1.009 GB, free: 4.75 MB / 0.9636 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.000712/0.01191, allocations: 0.6681 MB / 1.01 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.01194, allocations: 13.28 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.01199, allocations: 70.7 kB / 1.01 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.0125, allocations: 132.5 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.01287, allocations: 348.6 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.01288, allocations: 28.95 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.01292, allocations: 28.38 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.01346, allocations: 0.6309 MB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.01347, allocations: 7.953 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.0135, allocations: 15.98 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.01354, allocations: 44.56 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.01396, allocations: 414.1 kB / 1.012 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.01554, allocations: 2.721 MB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.01598, allocations: 313.6 kB / 1.014 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.01616, allocations: 167.2 kB / 1.015 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.01618, allocations: 4 kB / 1.015 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.0162, allocations: 38.56 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.0162, allocations: 3.938 kB / 1.015 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27): time 0.00122/0.01742, allocations: 0.838 MB / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.01744, allocations: 59.58 kB / 1.016 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.01768, allocations: 353.5 kB / 1.016 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01769, allocations: 33.7 kB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.0178, allocations: 252.1 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.01784, allocations: 99.11 kB / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.01791, allocations: 74.16 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.01799, allocations: 346.7 kB / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01816, allocations: 152.9 kB / 1.017 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01838, allocations: 291.2 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.01879, allocations: 482.3 kB / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01879, allocations: 0 / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00071/0.0195, allocations: 0.5618 MB / 1.018 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01951, allocations: 4 kB / 1.018 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01952, allocations: 8.625 kB / 1.018 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.0197, allocations: 90.45 kB / 1.018 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.01988, allocations: 87.88 kB / 1.018 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.01989, allocations: 7.938 kB / 1.018 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.02002, allocations: 31.97 kB / 1.018 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.02004, allocations: 16 kB / 1.018 GB, free: 10.89 MB / 0.9792 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.000119/0.02016, allocations: 177.7 kB / 1.018 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.0202, allocations: 51.66 kB / 1.019 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.02071, allocations: 468.5 kB / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.02071, allocations: 0 / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.02071, allocations: 4 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02072, allocations: 3.984 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.02155, allocations: 0.8862 MB / 1.02 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02155, allocations: 4.031 kB / 1.02 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.02167, allocations: 51.95 kB / 1.02 GB, free: 9.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.0218, allocations: 86.39 kB / 1.02 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.02181, allocations: 7.984 kB / 1.02 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02182, allocations: 4 kB / 1.02 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.02182, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.02228, allocations: 0.5458 MB / 1.021 GB, free: 8.477 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.02237, allocations: 67.66 kB / 1.021 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.0224, allocations: 7.938 kB / 1.021 GB, free: 8.402 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.02251, allocations: 23.97 kB / 1.021 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.02256, allocations: 27.84 kB / 1.021 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.02257, allocations: 7.984 kB / 1.021 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001426/0.02271, allocations: 239.2 kB / 1.021 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02271, allocations: 0 / 1.021 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002534/0.02297, allocations: 84 kB / 1.021 GB, free: 8.031 MB / 0.9792 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.0007128/0.02368, allocations: 1.092 MB / 1.022 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.02415, allocations: 403.9 kB / 1.022 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.02415, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.02436, allocations: 190.4 kB / 1.023 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.02477, allocations: 125.2 kB / 1.023 GB, free: 6.176 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.02776, allocations: 3.706 MB / 1.026 GB, free: 2.23 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.02789, allocations: 231.7 kB / 1.027 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.02803, allocations: 79.34 kB / 1.027 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.02814, allocations: 124.5 kB / 1.027 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of SimCode: time 7.12e-07/0.02815, allocations: 0 / 1.027 GB, free: 1.781 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07964/0.1078, allocations: 9.44 MB / 1.036 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.153, allocations: 4.062 kB / 1.036 GB, free: 8.633 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.552855252288282]