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.001628/0.001628, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002065/0.002065, allocations: 220.3 kB / 23.03 MB, free: 4.941 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002542/0.002542, allocations: 288 kB / 313.5 MB, free: 2.621 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.31/1.31, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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.002801/0.002801, allocations: 101.1 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1674, allocations: 95.39 MB / 0.8334 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01466/0.182, allocations: 10.33 MB / 0.8435 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1962, allocations: 8.47 MB / 0.8518 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1978, allocations: 79.31 kB / 0.8518 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004615/0.2024, allocations: 1.668 MB / 0.8535 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.207, allocations: 1.568 MB / 0.855 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2088, allocations: 0.677 MB / 0.8557 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003105/0.2119, allocations: 2.29 MB / 0.8579 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2137, allocations: 1.156 MB / 0.859 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.2154, allocations: 1.028 MB / 0.86 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.2173, allocations: 1.07 MB / 0.8611 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.2175, allocations: 136 kB / 0.8612 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2191, allocations: 0.7564 MB / 0.862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.2198, allocations: 0.5802 MB / 0.8625 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/0.2207, allocations: 0.7269 MB / 0.8632 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.224, allocations: 2.603 MB / 0.8658 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.224, allocations: 0 / 0.8658 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.224, allocations: 0 / 0.8658 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.224, allocations: 0 / 0.8658 GB, free: 7.102 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.003468/0.2275, allocations: 1.987 MB / 0.8677 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2275, allocations: 13.34 kB / 0.8677 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.691e-05/0.2276, allocations: 38.52 kB / 0.8678 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.2278, allocations: 194.1 kB / 0.8679 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.2386, allocations: 2.055 MB / 0.87 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.2412, allocations: 1.134 MB / 0.8711 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/0.2413, allocations: 98.44 kB / 0.8712 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.2415, allocations: 111.9 kB / 0.8713 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.2474, allocations: 2.881 MB / 0.8741 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.2474, allocations: 7.938 kB / 0.8741 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.2476, allocations: 59.98 kB / 0.8741 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003614/0.2479, allocations: 130.1 kB / 0.8743 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/0.2551, allocations: 2.537 MB / 0.8767 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.2681, allocations: 7.64 MB / 0.8842 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005992/0.2741, allocations: 1.847 MB / 0.886 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.2767, allocations: 0.9425 MB / 0.8869 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.2768, allocations: 4.438 kB / 0.8869 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.2768, allocations: 39 kB / 0.887 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.726e-06/0.2768, allocations: 0 / 0.887 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03155/0.3084, allocations: 8.646 MB / 0.8954 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3084, allocations: 64 kB / 0.8955 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.3099, allocations: 1.093 MB / 0.8965 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.3101, allocations: 41.7 kB / 0.8966 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.3107, allocations: 0.7512 MB / 0.8973 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.311, allocations: 297.4 kB / 0.8976 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.3114, allocations: 202.5 kB / 0.8978 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3116, allocations: 345.9 kB / 0.8981 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.3145, allocations: 1.071 MB / 0.8992 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/0.3175, allocations: 1.309 MB / 0.9004 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005904/0.3234, allocations: 2.382 MB / 0.9028 GB, free: 372 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3234, allocations: 0 / 0.9028 GB, free: 372 kB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008769/0.3322, allocations: 3.258 MB / 0.9059 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.3322, allocations: 8 kB / 0.906 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3322, allocations: 8 kB / 0.906 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.3352, allocations: 0.7874 MB / 0.9067 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.337, allocations: 415.2 kB / 0.9071 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.3543, allocations: 14.99 MB / 0.9218 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.3565, allocations: 287.5 kB / 0.922 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.3566, allocations: 47.97 kB / 0.9221 GB, free: 11.59 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.0007719/0.3574, allocations: 405.5 kB / 0.9225 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.3577, allocations: 151.1 kB / 0.9226 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008917/0.3666, allocations: 3.175 MB / 0.9257 GB, free: 7.828 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.3666, allocations: 8 kB / 0.9257 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.3666, allocations: 8 kB / 0.9257 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3667, allocations: 3.984 kB / 0.9257 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.3781, allocations: 4.635 MB / 0.9303 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3781, allocations: 0 / 0.9303 GB, free: 3.051 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.3797, allocations: 351.7 kB / 0.9306 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.3822, allocations: 0.7018 MB / 0.9313 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.3823, allocations: 31.97 kB / 0.9313 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01643/0.3988, allocations: 14.6 MB / 0.9456 GB, free: 2.426 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.3988, allocations: 7.938 kB / 0.9456 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008149/0.4069, allocations: 3.017 MB / 0.9485 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/0.4077, allocations: 310.9 kB / 0.9488 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.4079, allocations: 24.12 kB / 0.9489 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.4097, allocations: 303.4 kB / 0.9491 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.41, allocations: 84.44 kB / 0.9492 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.4101, allocations: 39.97 kB / 0.9493 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001064/0.4112, allocations: 0.7366 MB / 0.95 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.4112, allocations: 0 / 0.95 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001503/0.4127, allocations: 432 kB / 0.9504 GB, free: 13.41 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.008395/0.4211, allocations: 3.604 MB / 0.9539 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008347/0.4294, allocations: 3.515 MB / 0.9573 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.4294, allocations: 7.938 kB / 0.9573 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.4345, allocations: 2.325 MB / 0.9596 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.4369, allocations: 0.5249 MB / 0.9601 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/0.4714, allocations: 15.81 MB / 0.9756 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000981/0.4724, allocations: 0.806 MB / 0.9764 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001452/0.4738, allocations: 371.9 kB / 0.9767 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000933/0.4748, allocations: 0.5969 MB / 0.9773 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of SimCode: time 1.573e-06/0.4748, allocations: 3.938 kB / 0.9773 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4745/0.9493, allocations: 45.51 MB / 1.022 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.89, allocations: 0 / 1.022 GB, free: 144.7 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.406505094026215] Failed to read output from testmodel.py, exit status != 0: 17.0859532719478 17.104690572 16.877204647 Calling exit ...