Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001268/0.001268, allocations: 113 kB / 18.94 MB, free: 2.934 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.001462/0.001462, allocations: 210.5 kB / 22.25 MB, free: 5.082 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.039 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.002564/0.002564, allocations: 284.2 kB / 312.7 MB, free: 2.84 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.00287/0.00287, allocations: 101.8 kB / 0.7396 GB, free: 28.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1577, allocations: 95.39 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009089/0.1668, allocations: 7.022 MB / 0.8396 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.1721, allocations: 3.18 MB / 0.8427 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.1725, allocations: 39.62 kB / 0.8427 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.1751, allocations: 0.9906 MB / 0.8437 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1762, allocations: 0.5168 MB / 0.8442 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1773, allocations: 441.2 kB / 0.8446 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1788, allocations: 1.221 MB / 0.8458 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.1797, allocations: 0.5257 MB / 0.8463 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.1804, allocations: 498.2 kB / 0.8468 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.1812, allocations: 0.5448 MB / 0.8473 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1813, allocations: 71.94 kB / 0.8474 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.182, allocations: 391.2 kB / 0.8478 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.1822, allocations: 315.1 kB / 0.8481 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004345/0.1827, allocations: 449.8 kB / 0.8485 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.184, allocations: 1.218 MB / 0.8497 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1841, allocations: 0 / 0.8497 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1841, allocations: 0 / 0.8497 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.1841, allocations: 0 / 0.8497 GB, free: 7.234 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001939/0.186, allocations: 1.116 MB / 0.8508 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1861, allocations: 13.34 kB / 0.8508 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.1862, allocations: 118.6 kB / 0.8509 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.1877, allocations: 240.2 kB / 0.8511 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.1887, allocations: 0.5191 MB / 0.8517 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.1887, allocations: 53.61 kB / 0.8517 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.1888, allocations: 68.34 kB / 0.8518 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.1903, allocations: 1.085 MB / 0.8528 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/0.1904, allocations: 11.89 kB / 0.8528 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.1905, allocations: 31.98 kB / 0.8529 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.1906, allocations: 85.25 kB / 0.853 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1918, allocations: 0.7504 MB / 0.8537 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.1974, allocations: 5.791 MB / 0.8593 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.1984, allocations: 0.5123 MB / 0.8598 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1989, allocations: 294 kB / 0.8601 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1989, allocations: 12.31 kB / 0.8601 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1989, allocations: 35 kB / 0.8602 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.205e-06/0.1989, allocations: 4 kB / 0.8602 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.003823/0.2028, allocations: 1.675 MB / 0.8618 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.2028, allocations: 59.84 kB / 0.8619 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006688/0.2035, allocations: 0.5548 MB / 0.8624 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.2035, allocations: 37.64 kB / 0.8624 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.2038, allocations: 424 kB / 0.8628 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.204, allocations: 182.5 kB / 0.863 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.2042, allocations: 126.6 kB / 0.8631 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2043, allocations: 382.6 kB / 0.8635 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.2047, allocations: 273.8 kB / 0.8638 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.2053, allocations: 493 kB / 0.8642 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.2064, allocations: 0.8161 MB / 0.865 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2064, allocations: 0 / 0.865 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001889/0.2083, allocations: 1.078 MB / 0.8661 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2083, allocations: 11.98 kB / 0.8661 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2083, allocations: 4 kB / 0.8661 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008451/0.2091, allocations: 279.9 kB / 0.8664 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.2096, allocations: 123.8 kB / 0.8665 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.2165, allocations: 6.73 MB / 0.8731 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.2171, allocations: 39.97 kB / 0.8731 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.2171, allocations: 28 kB / 0.8731 GB, free: 13.88 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003599/0.2175, allocations: 258.2 kB / 0.8734 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.2176, allocations: 79.52 kB / 0.8734 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.2192, allocations: 0.8768 MB / 0.8743 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2192, allocations: 4 kB / 0.8743 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2192, allocations: 4 kB / 0.8743 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2192, allocations: 3.984 kB / 0.8743 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.2219, allocations: 1.685 MB / 0.876 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.2219, allocations: 3.938 kB / 0.876 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.2222, allocations: 68.02 kB / 0.876 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007485/0.223, allocations: 267.3 kB / 0.8763 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.223, allocations: 16 kB / 0.8763 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/0.2297, allocations: 6.721 MB / 0.8829 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2297, allocations: 0 / 0.8829 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.2314, allocations: 0.9838 MB / 0.8838 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.2317, allocations: 115.5 kB / 0.8839 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.2317, allocations: 11.94 kB / 0.8839 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2321, allocations: 31.97 kB / 0.884 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2322, allocations: 39.86 kB / 0.884 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.2322, allocations: 20 kB / 0.884 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004479/0.2327, allocations: 383.1 kB / 0.8844 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2327, allocations: 4 kB / 0.8844 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007651/0.2335, allocations: 224 kB / 0.8846 GB, free: 1.488 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/0.2353, allocations: 1.536 MB / 0.8861 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.2373, allocations: 1.22 MB / 0.8873 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.2373, allocations: 8.062 kB / 0.8873 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.2386, allocations: 0.8618 MB / 0.8882 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2396, allocations: 220.8 kB / 0.8884 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00875/0.2483, allocations: 6.377 MB / 0.8946 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.249, allocations: 1.013 MB / 0.8956 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.2494, allocations: 122 kB / 0.8957 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.2497, allocations: 251.4 kB / 0.8959 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of SimCode: time 9.91e-07/0.2497, allocations: 0 / 0.8959 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.3084, allocations: 18.07 MB / 0.9136 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.98, allocations: 11.56 kB / 0.9136 GB, free: 3.602 MB / 0.6544 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.182273449001514] Failed to read output from testmodel.py, exit status != 0: 12.10280924700055 12.125825803 11.938575885 Calling exit ...