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.001464/0.001464, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001664/0.001664, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.002504/0.002504, allocations: 285 kB / 313.5 MB, free: 2.816 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.5377 GB, free: 13.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",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.002807/0.002807, allocations: 99.45 kB / 0.7403 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1724, allocations: 95.38 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01431/0.1868, allocations: 11.33 MB / 0.8446 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2013, allocations: 9.127 MB / 0.8535 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.2029, allocations: 87.25 kB / 0.8536 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.2076, allocations: 1.752 MB / 0.8553 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00472/0.2123, allocations: 1.57 MB / 0.8568 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.2143, allocations: 0.6842 MB / 0.8575 GB, free: 8 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.2178, allocations: 2.283 MB / 0.8597 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.2199, allocations: 1.153 MB / 0.8608 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2219, allocations: 1.035 MB / 0.8618 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.224, allocations: 1.066 MB / 0.8629 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.2245, allocations: 140 kB / 0.863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.2264, allocations: 0.8227 MB / 0.8638 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.2272, allocations: 0.5762 MB / 0.8644 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.2286, allocations: 0.8862 MB / 0.8652 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.232, allocations: 2.58 MB / 0.8678 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.232, allocations: 4 kB / 0.8678 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.232, allocations: 0 / 0.8678 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.455e-05/0.232, allocations: 3.938 kB / 0.8678 GB, free: 5.387 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.003446/0.2355, allocations: 1.999 MB / 0.8697 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.2356, allocations: 13.34 kB / 0.8697 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.129e-05/0.2356, allocations: 30.52 kB / 0.8698 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.2358, allocations: 190 kB / 0.8699 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.2468, allocations: 2.063 MB / 0.872 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.2495, allocations: 1.134 MB / 0.8731 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.2496, allocations: 94.3 kB / 0.8732 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.2498, allocations: 119.9 kB / 0.8733 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/0.2555, allocations: 2.471 MB / 0.8757 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.2555, allocations: 15.92 kB / 0.8757 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.2557, allocations: 51.98 kB / 0.8757 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000354/0.256, allocations: 126.1 kB / 0.8759 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007482/0.2635, allocations: 2.541 MB / 0.8783 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.278, allocations: 9.926 MB / 0.888 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006443/0.2844, allocations: 1.847 MB / 0.8898 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/0.2873, allocations: 0.9464 MB / 0.8908 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.2873, allocations: 8.438 kB / 0.8908 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.2874, allocations: 39 kB / 0.8908 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.816e-06/0.2874, allocations: 3.938 kB / 0.8908 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81): time 0.03175/0.3191, allocations: 8.63 MB / 0.8992 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3192, allocations: 67.94 kB / 0.8993 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.3207, allocations: 1.097 MB / 0.9004 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.3208, allocations: 33.7 kB / 0.9004 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006019/0.3214, allocations: 0.7551 MB / 0.9012 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.3217, allocations: 301.4 kB / 0.9014 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.3222, allocations: 202.5 kB / 0.9016 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3223, allocations: 345.9 kB / 0.902 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/0.3254, allocations: 1.067 MB / 0.903 GB, free: 280 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.3287, allocations: 1.309 MB / 0.9043 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/0.3349, allocations: 2.374 MB / 0.9066 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3349, allocations: 0 / 0.9066 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009183/0.3441, allocations: 3.258 MB / 0.9098 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.3441, allocations: 12.16 kB / 0.9098 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3441, allocations: 8 kB / 0.9098 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/0.3469, allocations: 0.7832 MB / 0.9106 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.3489, allocations: 419.2 kB / 0.911 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.3656, allocations: 15.11 MB / 0.9257 GB, free: 7.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.3679, allocations: 295.5 kB / 0.926 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.368, allocations: 47.97 kB / 0.926 GB, free: 7.504 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.0007505/0.3688, allocations: 405.5 kB / 0.9264 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.3691, allocations: 151.1 kB / 0.9266 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/0.3781, allocations: 3.179 MB / 0.9297 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3781, allocations: 12 kB / 0.9297 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3782, allocations: 4 kB / 0.9297 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3782, allocations: 7.984 kB / 0.9297 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.3897, allocations: 4.861 MB / 0.9345 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3897, allocations: 4 kB / 0.9345 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.3914, allocations: 351.4 kB / 0.9348 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.3938, allocations: 0.6976 MB / 0.9355 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.3939, allocations: 31.97 kB / 0.9355 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.4098, allocations: 14.73 MB / 0.9499 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4098, allocations: 4.188 kB / 0.9499 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00847/0.4183, allocations: 3.028 MB / 0.9528 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008673/0.4191, allocations: 306.9 kB / 0.9531 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.4194, allocations: 27.92 kB / 0.9532 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.4213, allocations: 287.5 kB / 0.9534 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4215, allocations: 84.44 kB / 0.9535 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.98e-05/0.4216, allocations: 35.97 kB / 0.9536 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001008/0.4226, allocations: 0.7444 MB / 0.9543 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.4226, allocations: 0 / 0.9543 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001431/0.4241, allocations: 432 kB / 0.9547 GB, free: 8.965 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.008593/0.4326, allocations: 3.596 MB / 0.9582 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008696/0.4413, allocations: 3.523 MB / 0.9616 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4413, allocations: 4 kB / 0.9617 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005066/0.4464, allocations: 2.32 MB / 0.9639 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.4486, allocations: 0.5231 MB / 0.9644 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/0.4833, allocations: 15.83 MB / 0.9799 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.4844, allocations: 1.384 MB / 0.9812 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001378/0.4858, allocations: 379.8 kB / 0.9816 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008859/0.4867, allocations: 0.6008 MB / 0.9822 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of SimCode: time 9.71e-07/0.4867, allocations: 0 / 0.9822 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4468/0.9335, allocations: 42.75 MB / 1.024 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.16, allocations: 7.641 kB / 1.024 GB, free: 143.1 MB / 0.7325 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 21.403787515999284] Failed to read output from testmodel.py, exit status != 0: 17.35831036698073 17.375831461 17.140306723 Calling exit ...