Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001852/0.001852, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002379/0.002379, allocations: 214.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002664/0.002664, allocations: 294.4 kB / 312.7 MB, free: 2.574 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 99.33 kB / 0.7395 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1664, allocations: 95.39 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007184/0.1736, allocations: 4.612 MB / 0.8371 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004387/0.178, allocations: 2.409 MB / 0.8395 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.1783, allocations: 35.62 kB / 0.8395 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1795, allocations: 398 kB / 0.8399 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009521/0.1805, allocations: 469.7 kB / 0.8404 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.1814, allocations: 369.5 kB / 0.8407 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1824, allocations: 0.9177 MB / 0.8416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004843/0.1829, allocations: 330.6 kB / 0.8419 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.1834, allocations: 354.7 kB / 0.8423 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.1838, allocations: 350.4 kB / 0.8426 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.1839, allocations: 40 kB / 0.8426 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1845, allocations: 363.1 kB / 0.843 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.1847, allocations: 183.4 kB / 0.8432 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.185, allocations: 266.6 kB / 0.8434 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.186, allocations: 0.8832 MB / 0.8443 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.186, allocations: 0 / 0.8443 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.186, allocations: 4 kB / 0.8443 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.186, allocations: 0 / 0.8443 GB, free: 12.37 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001456/0.1874, allocations: 0.8818 MB / 0.8451 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1875, allocations: 9.344 kB / 0.8451 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.1876, allocations: 98.69 kB / 0.8452 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.1888, allocations: 204.2 kB / 0.8454 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.1896, allocations: 480.7 kB / 0.8459 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1897, allocations: 33.38 kB / 0.8459 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.1898, allocations: 48.36 kB / 0.846 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.191, allocations: 0.9777 MB / 0.8469 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.191, allocations: 7.938 kB / 0.8469 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.1911, allocations: 23.98 kB / 0.847 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.1912, allocations: 68.95 kB / 0.847 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.192, allocations: 0.5655 MB / 0.8476 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.1965, allocations: 4.724 MB / 0.8522 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.1972, allocations: 422.3 kB / 0.8526 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1975, allocations: 204.7 kB / 0.8528 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1975, allocations: 4.531 kB / 0.8528 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1975, allocations: 34.56 kB / 0.8528 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.654e-06/0.1975, allocations: 0 / 0.8528 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002433/0.1999, allocations: 1.138 MB / 0.8539 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2, allocations: 55.69 kB / 0.854 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005505/0.2005, allocations: 0.5105 MB / 0.8545 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2006, allocations: 33.64 kB / 0.8545 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.2008, allocations: 363.8 kB / 0.8549 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.201, allocations: 122.9 kB / 0.855 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2011, allocations: 118.2 kB / 0.8551 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2013, allocations: 362.8 kB / 0.8554 GB, free: 428 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2016, allocations: 197.2 kB / 0.8556 GB, free: 228 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.2021, allocations: 439.4 kB / 0.856 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.2031, allocations: 0.6913 MB / 0.8567 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2031, allocations: 8 kB / 0.8567 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001338/0.2044, allocations: 0.8101 MB / 0.8575 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2044, allocations: 11.98 kB / 0.8575 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2044, allocations: 8 kB / 0.8575 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.2049, allocations: 148.1 kB / 0.8577 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.2054, allocations: 127.7 kB / 0.8578 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/0.209, allocations: 4.034 MB / 0.8617 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.2094, allocations: 31.97 kB / 0.8618 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.2094, allocations: 35.92 kB / 0.8618 GB, free: 9.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.2097, allocations: 210.2 kB / 0.862 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.2098, allocations: 67.75 kB / 0.8621 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2109, allocations: 0.5968 MB / 0.8627 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2109, allocations: 4 kB / 0.8627 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2109, allocations: 0 / 0.8627 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2109, allocations: 3.984 kB / 0.8627 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2127, allocations: 1.175 MB / 0.8638 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2127, allocations: 4 kB / 0.8638 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.213, allocations: 52.11 kB / 0.8639 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.2134, allocations: 148.2 kB / 0.864 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.2134, allocations: 15.88 kB / 0.864 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003562/0.217, allocations: 4.015 MB / 0.8679 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.217, allocations: 8.094 kB / 0.868 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2181, allocations: 0.7045 MB / 0.8686 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.2184, allocations: 87.58 kB / 0.8687 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2185, allocations: 11.94 kB / 0.8687 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.2187, allocations: 23.97 kB / 0.8688 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.2188, allocations: 43.81 kB / 0.8688 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2188, allocations: 8 kB / 0.8688 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004382/0.2193, allocations: 330.9 kB / 0.8691 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2193, allocations: 0 / 0.8691 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006597/0.2199, allocations: 140 kB / 0.8693 GB, free: 1.133 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.2215, allocations: 1.269 MB / 0.8705 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001597/0.2231, allocations: 0.8585 MB / 0.8713 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2231, allocations: 0 / 0.8713 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008594/0.2239, allocations: 0.5719 MB / 0.8719 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.2249, allocations: 216.8 kB / 0.8721 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.2319, allocations: 5.104 MB / 0.8771 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2323, allocations: 311.5 kB / 0.8774 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003536/0.2327, allocations: 121.3 kB / 0.8775 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.2329, allocations: 191.4 kB / 0.8777 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of SimCode: time 1.272e-06/0.2329, allocations: 3.938 kB / 0.8777 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.285, allocations: 14.18 MB / 0.8915 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.26, allocations: 5.188 kB / 0.8915 GB, free: 10.15 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.62902053166181] Failed to read output from testmodel.py, exit status != 0: 12.38262615725398 12.415178569 12.223439462 Calling exit ...