Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001278/0.001278, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00147/0.00147, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.793 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.002619/0.002619, allocations: 291.1 kB / 312.7 MB, free: 2.613 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.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002999/0.002999, allocations: 101.7 kB / 0.7395 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1903, allocations: 95.37 MB / 0.8326 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01409/0.2044, allocations: 10.35 MB / 0.8427 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2197, allocations: 8.493 MB / 0.851 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2215, allocations: 79.31 kB / 0.8511 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00523/0.2268, allocations: 1.665 MB / 0.8527 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005344/0.2321, allocations: 1.577 MB / 0.8543 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.2345, allocations: 0.6772 MB / 0.8549 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0041/0.2386, allocations: 2.283 MB / 0.8572 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.2408, allocations: 1.137 MB / 0.8583 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.2431, allocations: 1.028 MB / 0.8593 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.2454, allocations: 1.008 MB / 0.8603 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.2458, allocations: 140 kB / 0.8604 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.2478, allocations: 0.7408 MB / 0.8611 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008916/0.2487, allocations: 0.5763 MB / 0.8617 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.2502, allocations: 0.727 MB / 0.8624 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.2543, allocations: 2.603 MB / 0.8649 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2543, allocations: 0 / 0.8649 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2543, allocations: 0 / 0.8649 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.475e-05/0.2544, allocations: 4 kB / 0.8649 GB, free: 7.105 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004793/0.2592, allocations: 1.987 MB / 0.8669 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.2593, allocations: 17.22 kB / 0.8669 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004085/0.2597, allocations: 194.1 kB / 0.8671 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.2708, allocations: 2.055 MB / 0.8691 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.274, allocations: 1.137 MB / 0.8702 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.2741, allocations: 90.69 kB / 0.8703 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.2746, allocations: 119.9 kB / 0.8704 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006951/0.2816, allocations: 2.881 MB / 0.8732 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/0.2816, allocations: 7.938 kB / 0.8732 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.2819, allocations: 55.98 kB / 0.8733 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/0.2823, allocations: 130.1 kB / 0.8734 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007625/0.2899, allocations: 2.537 MB / 0.8759 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.3047, allocations: 7.64 MB / 0.8833 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/0.3108, allocations: 1.842 MB / 0.8851 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.3136, allocations: 0.9493 MB / 0.8861 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.3136, allocations: 8.438 kB / 0.8861 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3137, allocations: 39 kB / 0.8861 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/0.3137, allocations: 0 / 0.8861 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03129/0.345, allocations: 8.638 MB / 0.8945 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.345, allocations: 67.94 kB / 0.8946 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3469, allocations: 1.112 MB / 0.8957 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.3471, allocations: 41.64 kB / 0.8957 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000772/0.3479, allocations: 0.7435 MB / 0.8965 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.3483, allocations: 301.5 kB / 0.8968 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004887/0.3487, allocations: 202.5 kB / 0.8969 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.349, allocations: 345.9 kB / 0.8973 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.3521, allocations: 1.067 MB / 0.8983 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/0.3553, allocations: 1.309 MB / 0.8996 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/0.3615, allocations: 2.374 MB / 0.9019 GB, free: 404 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3615, allocations: 4 kB / 0.9019 GB, free: 400 kB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009299/0.3708, allocations: 3.257 MB / 0.9051 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.3708, allocations: 8.781 kB / 0.9051 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3709, allocations: 8 kB / 0.9051 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/0.3738, allocations: 0.7956 MB / 0.9059 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.3758, allocations: 415.2 kB / 0.9063 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.3937, allocations: 14.98 MB / 0.9209 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/0.3961, allocations: 291.5 kB / 0.9212 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.3964, allocations: 51.97 kB / 0.9212 GB, free: 11.62 MB / 0.67 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009924/0.3974, allocations: 401.5 kB / 0.9216 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.3978, allocations: 151.1 kB / 0.9218 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009074/0.4069, allocations: 3.179 MB / 0.9249 GB, free: 7.855 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.4069, allocations: 8 kB / 0.9249 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/0.4069, allocations: 8 kB / 0.9249 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.4069, allocations: 7.922 kB / 0.9249 GB, free: 7.832 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.4198, allocations: 4.635 MB / 0.9294 GB, free: 3.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4198, allocations: 4.344 kB / 0.9294 GB, free: 3.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.4214, allocations: 355.4 kB / 0.9298 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/0.4239, allocations: 0.6897 MB / 0.9304 GB, free: 2.004 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.424, allocations: 31.97 kB / 0.9305 GB, free: 1.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.4411, allocations: 14.6 MB / 0.9447 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4411, allocations: 8.125 kB / 0.9447 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008501/0.4496, allocations: 3.017 MB / 0.9477 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.4507, allocations: 318.8 kB / 0.948 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/0.451, allocations: 20 kB / 0.948 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/0.4531, allocations: 295.4 kB / 0.9483 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003421/0.4535, allocations: 84.44 kB / 0.9484 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.4536, allocations: 39.97 kB / 0.9484 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001318/0.4549, allocations: 0.7405 MB / 0.9491 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.4549, allocations: 0 / 0.9491 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001762/0.4566, allocations: 431.9 kB / 0.9495 GB, free: 13.44 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008849/0.4655, allocations: 3.597 MB / 0.9531 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008786/0.4743, allocations: 3.511 MB / 0.9565 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4743, allocations: 4.125 kB / 0.9565 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/0.4796, allocations: 2.32 MB / 0.9588 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.4824, allocations: 0.5271 MB / 0.9593 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03691/0.5193, allocations: 15.84 MB / 0.9747 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.5205, allocations: 0.7982 MB / 0.9755 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001408/0.5219, allocations: 371.9 kB / 0.9759 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009497/0.5228, allocations: 0.5969 MB / 0.9765 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of SimCode: time 1.553e-06/0.5228, allocations: 4 kB / 0.9765 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4653/0.9881, allocations: 45.65 MB / 1.021 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.77, allocations: 24.23 kB / 1.021 GB, free: 145.4 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.966330469120294] Failed to read output from testmodel.py, exit status != 0: 13.902126534841955 13.913033034 13.656305598 Calling exit ...