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.0007225/0.0007225, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0007888/0.0007888, allocations: 218.8 kB / 23.03 MB, free: 2.949 MB / 13.93 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 1.053/1.053, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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 2.024/2.024, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009039/0.0009039, allocations: 63.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.692, allocations: 180 MB / 1.352 GB, free: 1.559 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.0037/0.6957, allocations: 3.614 MB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.6977, allocations: 1.77 MB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.6979, allocations: 27.75 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.6985, allocations: 271.6 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.699, allocations: 302.4 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.6994, allocations: 252.7 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.7001, allocations: 0.6091 MB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.7004, allocations: 228.8 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.7007, allocations: 247.1 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.7009, allocations: 234.9 kB / 1.36 GB, free: 10 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.7009, allocations: 28 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.7012, allocations: 247.4 kB / 1.36 GB, free: 9.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.7013, allocations: 123.6 kB / 1.36 GB, free: 9.609 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.7014, allocations: 171.1 kB / 1.36 GB, free: 9.441 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.7019, allocations: 0.603 MB / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7019, allocations: 0 / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7019, allocations: 0 / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7019, allocations: 3.938 kB / 1.361 GB, free: 8.832 MB / 1.042 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.0008038/0.7027, allocations: 0.6643 MB / 1.362 GB, free: 8.137 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7027, allocations: 8.922 kB / 1.362 GB, free: 8.129 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.726e-05/0.7028, allocations: 74.7 kB / 1.362 GB, free: 8.047 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005461/0.7033, allocations: 144.4 kB / 1.362 GB, free: 7.906 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.7037, allocations: 337.4 kB / 1.362 GB, free: 7.547 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.7037, allocations: 24.97 kB / 1.362 GB, free: 7.523 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.7038, allocations: 28.38 kB / 1.362 GB, free: 7.496 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.7043, allocations: 0.6301 MB / 1.363 GB, free: 6.785 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.7044, allocations: 7.938 kB / 1.363 GB, free: 6.777 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.7044, allocations: 12 kB / 1.363 GB, free: 6.766 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.7044, allocations: 44.62 kB / 1.363 GB, free: 6.719 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.7049, allocations: 410.1 kB / 1.363 GB, free: 6.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.7068, allocations: 2.752 MB / 1.366 GB, free: 3.441 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.7073, allocations: 317.3 kB / 1.366 GB, free: 3.125 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.7075, allocations: 160.8 kB / 1.366 GB, free: 2.965 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.7075, allocations: 0 / 1.366 GB, free: 2.965 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.7075, allocations: 42.55 kB / 1.366 GB, free: 2.914 MB / 1.042 GB Notification: Performance of pre-optimization done (n=26): time 1.263e-06/0.7075, allocations: 0 / 1.366 GB, free: 2.914 MB / 1.042 GB Notification: Performance of matching and sorting (n=27): time 0.001203/0.7087, allocations: 0.8325 MB / 1.367 GB, free: 2.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.7088, allocations: 59.64 kB / 1.367 GB, free: 2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.709, allocations: 349.5 kB / 1.368 GB, free: 1.645 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.709, allocations: 29.7 kB / 1.368 GB, free: 1.609 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7091, allocations: 256 kB / 1.368 GB, free: 1.352 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.7092, allocations: 99.16 kB / 1.368 GB, free: 1.254 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.7093, allocations: 82.08 kB / 1.368 GB, free: 1.168 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.7094, allocations: 342.8 kB / 1.368 GB, free: 0.8242 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.7095, allocations: 148.8 kB / 1.369 GB, free: 0.6797 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.7097, allocations: 286.5 kB / 1.369 GB, free: 344 kB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.7102, allocations: 491.6 kB / 1.369 GB, free: 15.79 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7102, allocations: 0 / 1.369 GB, free: 15.79 MB / 1.057 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006001/0.7108, allocations: 0.5623 MB / 1.37 GB, free: 15.21 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7108, allocations: 8 kB / 1.37 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7108, allocations: 11.97 kB / 1.37 GB, free: 15.2 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.711, allocations: 86.5 kB / 1.37 GB, free: 15.1 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.7112, allocations: 87.88 kB / 1.37 GB, free: 15.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.7112, allocations: 15.88 kB / 1.37 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.7113, allocations: 27.97 kB / 1.37 GB, free: 14.97 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.7113, allocations: 16 kB / 1.37 GB, free: 14.96 MB / 1.057 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.0001405/0.7115, allocations: 190.8 kB / 1.37 GB, free: 14.76 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.7115, allocations: 35.77 kB / 1.37 GB, free: 14.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.7121, allocations: 464 kB / 1.371 GB, free: 14.26 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.7121, allocations: 4 kB / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7121, allocations: 4 kB / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7121, allocations: 0 / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.713, allocations: 0.8941 MB / 1.372 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.713, allocations: 0 / 1.372 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.7131, allocations: 59.83 kB / 1.372 GB, free: 13.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.7132, allocations: 78.52 kB / 1.372 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.7132, allocations: 8 kB / 1.372 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7132, allocations: 0 / 1.372 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7133, allocations: 4 kB / 1.372 GB, free: 13.13 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.7138, allocations: 0.5436 MB / 1.372 GB, free: 12.55 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.7138, allocations: 67.67 kB / 1.372 GB, free: 12.49 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.7139, allocations: 4 kB / 1.372 GB, free: 12.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.714, allocations: 27.91 kB / 1.372 GB, free: 12.46 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/0.7143, allocations: 27.89 kB / 1.372 GB, free: 12.43 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.7143, allocations: 8 kB / 1.372 GB, free: 12.42 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.000146/0.7144, allocations: 231.2 kB / 1.373 GB, free: 12.2 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.7144, allocations: 0 / 1.373 GB, free: 12.2 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002755/0.7147, allocations: 95.98 kB / 1.373 GB, free: 12.11 MB / 1.057 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.0006979/0.7154, allocations: 1.095 MB / 1.374 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.7159, allocations: 398.8 kB / 1.374 GB, free: 10.57 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.7159, allocations: 0 / 1.374 GB, free: 10.57 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.7161, allocations: 190.3 kB / 1.374 GB, free: 10.37 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.7166, allocations: 139.1 kB / 1.374 GB, free: 10.24 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.7197, allocations: 3.729 MB / 1.378 GB, free: 6.27 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.7198, allocations: 223.7 kB / 1.378 GB, free: 6.027 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.72, allocations: 79.34 kB / 1.378 GB, free: 5.949 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.7202, allocations: 127.4 kB / 1.379 GB, free: 5.828 MB / 1.057 GB Notification: Performance of SimCode: time 1.012e-06/0.7202, allocations: 0 / 1.379 GB, free: 5.828 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08654/0.8067, allocations: 9.354 MB / 1.388 GB, free: 12.77 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/8.094, allocations: 4.062 kB / 1.388 GB, free: 12.77 MB / 1.073 GB " [Timeout remaining time 292] (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: 13.064616406336427]