Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.000919/0.000919, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008938/0.0008938, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8969/0.8969, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5658/0.5658, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.176e-05, allocations: 7.438 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01025/0.01027, allocations: 13.07 MB / 0.567 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009262/0.01953, allocations: 9.006 MB / 0.5758 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.02058, allocations: 87.19 kB / 0.5758 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.02271, allocations: 1.67 MB / 0.5775 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.02575, allocations: 1.634 MB / 0.5791 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.02704, allocations: 0.7597 MB / 0.5798 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.02956, allocations: 2.612 MB / 0.5824 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.03098, allocations: 1.184 MB / 0.5835 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.03279, allocations: 1.582 MB / 0.5851 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.03405, allocations: 0.9583 MB / 0.586 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.03442, allocations: 164 kB / 0.5862 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.03554, allocations: 0.7288 MB / 0.5869 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/0.03597, allocations: 0.6503 MB / 0.5875 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008173/0.03679, allocations: 0.6391 MB / 0.5881 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.03908, allocations: 2.781 MB / 0.5908 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03909, allocations: 0 / 0.5908 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.03909, allocations: 0 / 0.5908 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.536e-05/0.03916, allocations: 0 / 0.5908 GB, free: 13.1 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00293/0.04209, allocations: 2.085 MB / 0.5929 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.04214, allocations: 12.62 kB / 0.5929 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.04231, allocations: 194.4 kB / 0.5931 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/0.04788, allocations: 2.094 MB / 0.5951 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.04959, allocations: 1.176 MB / 0.5963 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.04965, allocations: 90.73 kB / 0.5964 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.04984, allocations: 120.3 kB / 0.5965 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.05421, allocations: 2.901 MB / 0.5993 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.05425, allocations: 7.938 kB / 0.5993 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.05437, allocations: 47.98 kB / 0.5994 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/0.05474, allocations: 178.1 kB / 0.5995 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/0.05885, allocations: 2.799 MB / 0.6023 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008586/0.06744, allocations: 8.331 MB / 0.6104 GB, free: 8.586 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.07128, allocations: 2.224 MB / 0.6126 GB, free: 6.355 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.07296, allocations: 1.21 MB / 0.6137 GB, free: 5.141 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.07301, allocations: 13 kB / 0.6138 GB, free: 5.129 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.07304, allocations: 39.56 kB / 0.6138 GB, free: 5.082 MB / 0.573 GB Notification: Performance of pre-optimization done (n=89): time 3.817e-06/0.07305, allocations: 0 / 0.6138 GB, free: 5.082 MB / 0.573 GB Notification: Performance of matching and sorting (n=131): time 0.0234/0.09645, allocations: 12.66 MB / 0.6262 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.09649, allocations: 64.72 kB / 0.6262 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.09771, allocations: 1.136 MB / 0.6273 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.09781, allocations: 49.7 kB / 0.6274 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.09817, allocations: 0.7209 MB / 0.6281 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.09847, allocations: 471.9 kB / 0.6285 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.09879, allocations: 259.5 kB / 0.6288 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.09889, allocations: 365.9 kB / 0.6291 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.1007, allocations: 1.339 MB / 0.6304 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.1026, allocations: 1.6 MB / 0.632 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/0.1066, allocations: 2.994 MB / 0.6349 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1067, allocations: 3.938 kB / 0.6349 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00636/0.113, allocations: 4.396 MB / 0.6392 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.113, allocations: 11.98 kB / 0.6392 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.1131, allocations: 11.94 kB / 0.6392 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/0.116, allocations: 1.43 MB / 0.6406 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.117, allocations: 443.2 kB / 0.6411 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.1333, allocations: 25.08 MB / 0.6656 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.1351, allocations: 299.5 kB / 0.6658 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.1352, allocations: 63.95 kB / 0.6659 GB, free: 13.85 MB / 0.6355 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007511/0.136, allocations: 434 kB / 0.6663 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.1362, allocations: 175 kB / 0.6665 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/0.1423, allocations: 4.406 MB / 0.6708 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1423, allocations: 12 kB / 0.6708 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.1423, allocations: 12 kB / 0.6708 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1423, allocations: 7.969 kB / 0.6708 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/0.1506, allocations: 6.308 MB / 0.677 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.1506, allocations: 4 kB / 0.677 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.1514, allocations: 383.3 kB / 0.6773 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/0.1537, allocations: 1.303 MB / 0.6786 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.1537, allocations: 43.95 kB / 0.6787 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2612/0.4149, allocations: 23.95 MB / 0.702 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.415, allocations: 6.625 kB / 0.7021 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.4206, allocations: 4.156 MB / 0.7061 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/0.4213, allocations: 387.8 kB / 0.7065 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.4214, allocations: 27.94 kB / 0.7065 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009825/0.4224, allocations: 305.4 kB / 0.7068 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/0.4228, allocations: 138.3 kB / 0.7069 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.4229, allocations: 48.97 kB / 0.707 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007664/0.4237, allocations: 0.7515 MB / 0.7077 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4237, allocations: 2.688 kB / 0.7077 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001615/0.4253, allocations: 0.5683 MB / 0.7083 GB, free: 134.8 MB / 0.6355 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005678/0.431, allocations: 4.743 MB / 0.7129 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00542/0.4364, allocations: 4.948 MB / 0.7177 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.4364, allocations: 2.781 kB / 0.7177 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.4397, allocations: 3.422 MB / 0.7211 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.4415, allocations: 0.5489 MB / 0.7216 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/0.4687, allocations: 19.36 MB / 0.7405 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/0.4697, allocations: 0.8901 MB / 0.7414 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001196/0.4709, allocations: 419.8 kB / 0.7418 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/0.4715, allocations: 0.6323 MB / 0.7424 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.613e-06/0.4715, allocations: 1.219 kB / 0.7424 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07344/0.5449, allocations: 56.44 MB / 0.7975 GB, free: 73.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.086, allocations: 10.86 kB / 0.7975 GB, free: 73.93 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.69594740960747] Failed to read output from testmodel.py, exit status != 0: 9.195362866856158 9.204320623 9.163295567 Calling exit ...