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.001253/0.001253, allocations: 104.1 kB / 16.45 MB, free: 6.449 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.001357/0.001357, allocations: 212 kB / 19.43 MB, free: 3.637 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.339/1.339, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 305.1 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.1/1.1, allocations: 180.9 MB / 0.5333 GB, free: 13.9 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002617/0.002617, allocations: 114.2 kB / 0.7343 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1423, allocations: 95.34 MB / 0.8274 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01309/0.1554, allocations: 11.06 MB / 0.8382 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01264/0.168, allocations: 8.928 MB / 0.8469 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008193/0.1689, allocations: 83.25 kB / 0.847 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.1728, allocations: 1.695 MB / 0.8486 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.1762, allocations: 1.568 MB / 0.8501 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1777, allocations: 0.6704 MB / 0.8508 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.1802, allocations: 2.294 MB / 0.853 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1815, allocations: 1.087 MB / 0.8541 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.1827, allocations: 1.024 MB / 0.8551 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.184, allocations: 1.066 MB / 0.8561 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1842, allocations: 143.9 kB / 0.8563 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.1855, allocations: 0.8227 MB / 0.8571 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/0.186, allocations: 0.5803 MB / 0.8576 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008229/0.1868, allocations: 0.8939 MB / 0.8585 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.1894, allocations: 2.576 MB / 0.861 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1894, allocations: 4 kB / 0.861 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1894, allocations: 3.938 kB / 0.861 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.1895, allocations: 0 / 0.861 GB, free: 7.293 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.002996/0.1924, allocations: 2.068 MB / 0.8631 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1925, allocations: 8.031 kB / 0.8631 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.1927, allocations: 194.1 kB / 0.8633 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.2037, allocations: 2.059 MB / 0.8653 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.2056, allocations: 1.213 MB / 0.8665 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.2057, allocations: 90.69 kB / 0.8665 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.2059, allocations: 127.8 kB / 0.8667 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/0.2111, allocations: 2.474 MB / 0.8691 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.2112, allocations: 7.938 kB / 0.8691 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.2113, allocations: 51.98 kB / 0.8691 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003306/0.2116, allocations: 130.1 kB / 0.8693 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.2188, allocations: 2.545 MB / 0.8717 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.2312, allocations: 10.04 MB / 0.8815 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00619/0.2374, allocations: 1.922 MB / 0.8834 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.2401, allocations: 0.9425 MB / 0.8843 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.2402, allocations: 12.42 kB / 0.8844 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2402, allocations: 39 kB / 0.8844 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.2402, allocations: 0 / 0.8844 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.03037/0.2706, allocations: 8.717 MB / 0.8929 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2706, allocations: 64 kB / 0.893 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2719, allocations: 1.097 MB / 0.894 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.272, allocations: 37.7 kB / 0.8941 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.2726, allocations: 0.7551 MB / 0.8948 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.2728, allocations: 293.5 kB / 0.8951 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.2732, allocations: 202.5 kB / 0.8953 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2734, allocations: 341.9 kB / 0.8956 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/0.2763, allocations: 1.075 MB / 0.8967 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.2794, allocations: 1.305 MB / 0.8979 GB, free: 324 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006209/0.2856, allocations: 2.378 MB / 0.9003 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2856, allocations: 7.938 kB / 0.9003 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008716/0.2944, allocations: 3.254 MB / 0.9034 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2944, allocations: 8 kB / 0.9035 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2944, allocations: 8 kB / 0.9035 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.2971, allocations: 0.7873 MB / 0.9042 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.2989, allocations: 415.3 kB / 0.9046 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.3153, allocations: 15.93 MB / 0.9202 GB, free: 8.254 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.3174, allocations: 291.5 kB / 0.9205 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.3175, allocations: 48.03 kB / 0.9205 GB, free: 7.922 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.00066/0.3182, allocations: 401.4 kB / 0.9209 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.3184, allocations: 151.1 kB / 0.921 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/0.3272, allocations: 3.183 MB / 0.9241 GB, free: 4.152 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3273, allocations: 8 kB / 0.9242 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.3273, allocations: 8 kB / 0.9242 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3273, allocations: 3.984 kB / 0.9242 GB, free: 4.133 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.3382, allocations: 4.89 MB / 0.9289 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3382, allocations: 0 / 0.9289 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.3398, allocations: 355.3 kB / 0.9293 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.3422, allocations: 0.7021 MB / 0.93 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/0.3422, allocations: 27.97 kB / 0.93 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/0.3581, allocations: 15.54 MB / 0.9452 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3581, allocations: 4 kB / 0.9452 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008376/0.3665, allocations: 3.021 MB / 0.9481 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/0.3672, allocations: 391.9 kB / 0.9485 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.3675, allocations: 20 kB / 0.9485 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.3694, allocations: 291.4 kB / 0.9488 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.3697, allocations: 84.48 kB / 0.9489 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3698, allocations: 39.97 kB / 0.9489 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001045/0.3709, allocations: 0.7366 MB / 0.9496 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 0.9496 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001526/0.3724, allocations: 432 kB / 0.95 GB, free: 8.254 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.008461/0.3808, allocations: 3.6 MB / 0.9536 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008515/0.3894, allocations: 3.516 MB / 0.957 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3894, allocations: 4 kB / 0.957 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.3945, allocations: 2.324 MB / 0.9593 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.3967, allocations: 0.5325 MB / 0.9598 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.4304, allocations: 15.8 MB / 0.9752 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.4316, allocations: 1.384 MB / 0.9766 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001233/0.4328, allocations: 375.9 kB / 0.9769 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008976/0.4337, allocations: 0.593 MB / 0.9775 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.4337, allocations: 0 / 0.9775 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3839/0.8176, allocations: 41.82 MB / 1.018 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.15, allocations: 4.562 kB / 1.018 GB, free: 144.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.94389435602352] Failed to read output from testmodel.py, exit status != 0: 14.26073569105938 14.269698298 14.078245191 Calling exit ...