Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001338/0.001338, allocations: 115.7 kB / 17.17 MB, free: 5.977 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.001539/0.001539, allocations: 219 kB / 20.13 MB, free: 3.035 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002543/0.002543, allocations: 286.6 kB / 309.8 MB, free: 3.422 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.1/1.1, allocations: 180.6 MB / 0.5338 GB, free: 12.38 MB / 398.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.002892/0.002892, allocations: 103.8 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5234, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0473/0.5707, allocations: 38.6 MB / 0.8655 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.5927, allocations: 11.16 MB / 0.8764 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004305/0.597, allocations: 200.7 kB / 0.8766 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01214/0.6092, allocations: 4.436 MB / 0.8809 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.621, allocations: 2.328 MB / 0.8832 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007301/0.6283, allocations: 2.172 MB / 0.8853 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01656/0.6449, allocations: 9.271 MB / 0.8944 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01792/0.6628, allocations: 8.546 MB / 0.9027 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009119/0.6719, allocations: 4.098 MB / 0.9067 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.682, allocations: 4.751 MB / 0.9113 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003202/0.6852, allocations: 0.8242 MB / 0.9121 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/0.691, allocations: 1.611 MB / 0.9137 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.006422/0.6974, allocations: 3.231 MB / 0.9169 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008987/0.7064, allocations: 3.657 MB / 0.9204 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0193/0.7257, allocations: 12.35 MB / 0.9325 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7257, allocations: 0 / 0.9325 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7257, allocations: 3.938 kB / 0.9325 GB, free: 14.58 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004914/0.7262, allocations: 0 / 0.9325 GB, free: 14.58 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01955/0.7457, allocations: 6.467 MB / 0.9388 GB, free: 8.035 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.7458, allocations: 12.03 kB / 0.9388 GB, free: 8.023 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002011/0.746, allocations: 151.6 kB / 0.939 GB, free: 7.875 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00271/0.7487, allocations: 0.8255 MB / 0.9398 GB, free: 7.039 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/0.7556, allocations: 1.094 MB / 0.9409 GB, free: 5.941 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/0.7642, allocations: 3.632 MB / 0.9444 GB, free: 2.258 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004703/0.7647, allocations: 431.7 kB / 0.9448 GB, free: 1.836 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.7666, allocations: 0.5355 MB / 0.9453 GB, free: 1.301 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.7912, allocations: 9.373 MB / 0.9545 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/0.7915, allocations: 23.83 kB / 0.9545 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002199/0.7937, allocations: 252 kB / 0.9548 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007909/0.7945, allocations: 418.9 kB / 0.9552 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.8116, allocations: 7.124 MB / 0.9621 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05339/0.8649, allocations: 41.07 MB / 1.002 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005/0.8699, allocations: 2.92 MB / 1.005 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.873, allocations: 1.942 MB / 1.007 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.8731, allocations: 29.92 kB / 1.007 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.8732, allocations: 60.56 kB / 1.007 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=209): time 3.496e-06/0.8732, allocations: 0 / 1.007 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=212): time 0.0254/0.8986, allocations: 10.58 MB / 1.017 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.8987, allocations: 77.39 kB / 1.017 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.9016, allocations: 2.002 MB / 1.019 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001778/0.9018, allocations: 65.7 kB / 1.019 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.9036, allocations: 2.474 MB / 1.022 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007604/0.9043, allocations: 0.7707 MB / 1.023 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/0.9051, allocations: 485.5 kB / 1.023 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9053, allocations: 305.1 kB / 1.023 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/0.9074, allocations: 1.368 MB / 1.025 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.9101, allocations: 2.112 MB / 1.027 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.9152, allocations: 3.762 MB / 1.03 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.9152, allocations: 8 kB / 1.03 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00874/0.9239, allocations: 5.031 MB / 1.035 GB, free: 176 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.924, allocations: 16.19 kB / 1.035 GB, free: 160 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.924, allocations: 24 kB / 1.035 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0038/0.9278, allocations: 1.586 MB / 1.037 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.9297, allocations: 451.2 kB / 1.037 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/0.9544, allocations: 18.59 MB / 1.056 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.9568, allocations: 143.9 kB / 1.056 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.9571, allocations: 108 kB / 1.056 GB, free: 10.69 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003243/0.9603, allocations: 1.937 MB / 1.058 GB, free: 8.742 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006457/0.961, allocations: 306.2 kB / 1.058 GB, free: 8.441 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007869/0.9688, allocations: 4.4 MB / 1.062 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.9689, allocations: 20 kB / 1.062 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/0.9689, allocations: 16 kB / 1.062 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.9689, allocations: 15.91 kB / 1.062 GB, free: 3.961 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/0.9856, allocations: 9.625 MB / 1.072 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.9856, allocations: 4 kB / 1.072 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.9867, allocations: 231.6 kB / 1.072 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/0.9904, allocations: 1.423 MB / 1.073 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.9905, allocations: 36 kB / 1.073 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02481/1.015, allocations: 18.6 MB / 1.092 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.015, allocations: 7.938 kB / 1.092 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007922/1.023, allocations: 4.503 MB / 1.096 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.025, allocations: 0.6475 MB / 1.097 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/1.025, allocations: 40 kB / 1.097 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.027, allocations: 116.2 kB / 1.097 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005663/1.027, allocations: 189.6 kB / 1.097 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.027, allocations: 60 kB / 1.097 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002067/1.029, allocations: 1.315 MB / 1.098 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/1.029, allocations: 0 / 1.098 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004008/1.033, allocations: 1.137 MB / 1.099 GB, free: 13.21 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007768/1.041, allocations: 5.13 MB / 1.104 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008475/1.05, allocations: 4.535 MB / 1.109 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.05, allocations: 5 kB / 1.109 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004998/1.055, allocations: 2.8 MB / 1.112 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004109/1.059, allocations: 0.8966 MB / 1.112 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06374/1.123, allocations: 30.44 MB / 1.142 GB, free: 24 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3992/1.522, allocations: 3.686 MB / 1.146 GB, free: 272.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002134/1.524, allocations: 0.5569 MB / 1.146 GB, free: 272.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/1.527, allocations: 1.947 MB / 1.148 GB, free: 272.5 MB / 0.8731 GB Notification: Performance of SimCode: time 2.915e-06/1.527, allocations: 0 / 1.148 GB, free: 272.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/1.746, allocations: 85.97 MB / 1.232 GB, free: 218.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/17.18, allocations: 21.8 kB / 1.232 GB, free: 218.7 MB / 0.8731 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.988769354997203] Failed to read output from testmodel.py, exit status != 0: 17.377415660012048 17.396892972 16.66693308 Calling exit ...