Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001094/0.001094, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009425/0.0009425, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8684/0.8684, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001568/0.001568, allocations: 237.8 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6697/0.6697, allocations: 138.4 MB / 454.3 MB, free: 1.645 MB / 362.7 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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.01e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02007/0.02009, allocations: 33 MB / 0.6786 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.03328, allocations: 11.36 MB / 0.6897 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.03559, allocations: 206.5 kB / 0.6898 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.005076/0.04066, allocations: 4.287 MB / 0.694 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.04491, allocations: 2.144 MB / 0.6961 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.04943, allocations: 2.429 MB / 0.6985 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.008022/0.05746, allocations: 8.622 MB / 0.7069 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00787/0.06533, allocations: 6.182 MB / 0.713 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008584/0.07391, allocations: 5.399 MB / 0.7182 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00523/0.07914, allocations: 3.908 MB / 0.722 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.08079, allocations: 0.7812 MB / 0.7228 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.08412, allocations: 1.914 MB / 0.7247 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.08694, allocations: 3.282 MB / 0.7279 GB, free: 13.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.09014, allocations: 2.374 MB / 0.7302 GB, free: 11.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.1018, allocations: 12.24 MB / 0.7422 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1018, allocations: 0 / 0.7422 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1018, allocations: 3.938 kB / 0.7422 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003771/0.1022, allocations: 0 / 0.7422 GB, free: 15.18 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009852/0.1121, allocations: 5.811 MB / 0.7478 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1121, allocations: 8.75 kB / 0.7478 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001048/0.1131, allocations: 0.8012 MB / 0.7486 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.1163, allocations: 1.11 MB / 0.7497 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.1203, allocations: 3.41 MB / 0.753 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.1205, allocations: 407.5 kB / 0.7534 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/0.1211, allocations: 0.5471 MB / 0.754 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00927/0.1304, allocations: 9.38 MB / 0.7631 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.102e-05/0.1304, allocations: 27.98 kB / 0.7631 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/0.1308, allocations: 240.1 kB / 0.7634 GB, free: 8.922 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.131, allocations: 350.8 kB / 0.7637 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/0.138, allocations: 6.818 MB / 0.7704 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.1588, allocations: 25.1 MB / 0.7949 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.1609, allocations: 2.296 MB / 0.7971 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.1627, allocations: 1.775 MB / 0.7989 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.1628, allocations: 18 kB / 0.7989 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1628, allocations: 52.56 kB / 0.7989 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.627e-06/0.1628, allocations: 3.938 kB / 0.7989 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01359/0.1764, allocations: 9.688 MB / 0.8084 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1765, allocations: 73.41 kB / 0.8085 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.1777, allocations: 1.565 MB / 0.81 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.1778, allocations: 53.7 kB / 0.81 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009228/0.1787, allocations: 2.32 MB / 0.8123 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/0.1793, allocations: 0.6506 MB / 0.8129 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.1797, allocations: 408.1 kB / 0.8133 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.1798, allocations: 309.1 kB / 0.8136 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.1808, allocations: 1.176 MB / 0.8148 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.1823, allocations: 1.881 MB / 0.8166 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.1854, allocations: 3.379 MB / 0.8199 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1854, allocations: 4 kB / 0.8199 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.0047/0.1901, allocations: 4.531 MB / 0.8243 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.1902, allocations: 16.19 kB / 0.8243 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.1902, allocations: 27.98 kB / 0.8244 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.1924, allocations: 1.565 MB / 0.8259 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.1934, allocations: 359.3 kB / 0.8262 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.2079, allocations: 17.94 MB / 0.8438 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.2088, allocations: 123.8 kB / 0.8439 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.2089, allocations: 96 kB / 0.844 GB, free: 4.512 MB / 0.6823 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00229/0.2112, allocations: 1.887 MB / 0.8458 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.2114, allocations: 242.5 kB / 0.8461 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.2158, allocations: 4.043 MB / 0.85 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2158, allocations: 16 kB / 0.85 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.2158, allocations: 24 kB / 0.85 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.2158, allocations: 7.969 kB / 0.85 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/0.2247, allocations: 8.666 MB / 0.8585 GB, free: 5.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2247, allocations: 4 kB / 0.8585 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.2251, allocations: 183.7 kB / 0.8587 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.2269, allocations: 1.349 MB / 0.86 GB, free: 3.906 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.227, allocations: 36 kB / 0.86 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2654/0.4923, allocations: 16.72 MB / 0.8764 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4923, allocations: 6.812 kB / 0.8764 GB, free: 186.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.4962, allocations: 4.027 MB / 0.8803 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.4968, allocations: 479.1 kB / 0.8808 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.497, allocations: 38.22 kB / 0.8808 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.4974, allocations: 86.39 kB / 0.8809 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.4977, allocations: 178.5 kB / 0.881 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.4978, allocations: 51 kB / 0.8811 GB, free: 184.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008712/0.4986, allocations: 1.002 MB / 0.8821 GB, free: 184 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4986, allocations: 3.938 kB / 0.8821 GB, free: 184 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001923/0.5005, allocations: 0.9843 MB / 0.883 GB, free: 184 MB / 0.698 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003586/0.5041, allocations: 4.615 MB / 0.8875 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.5076, allocations: 4.152 MB / 0.8916 GB, free: 180 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5076, allocations: 0 / 0.8916 GB, free: 180 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.5094, allocations: 2.576 MB / 0.8941 GB, free: 178.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.511, allocations: 0.7937 MB / 0.8949 GB, free: 178.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.5322, allocations: 27.02 MB / 0.9213 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.5342, allocations: 3.051 MB / 0.9243 GB, free: 150.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007683/0.535, allocations: 471.9 kB / 0.9247 GB, free: 149.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009591/0.5359, allocations: 1.785 MB / 0.9265 GB, free: 148 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/0.5359, allocations: 0 / 0.9265 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07614/0.6121, allocations: 78.58 MB / 1.003 GB, free: 70.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.008, allocations: 0 / 1.003 GB, free: 70.51 MB / 0.698 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.905805588699877] Failed to read output from testmodel.py, exit status != 0: 9.12045256793499 9.126601924 9.023044048 Calling exit ...