Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001355/0.001355, allocations: 104.3 kB / 20.48 MB, free: 1.383 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.001618/0.001618, allocations: 213.9 kB / 23.78 MB, free: 4.555 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.468/1.468, allocations: 230.6 MB / 257.6 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.9721/0.9721, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00217/0.00217, allocations: 67.61 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2026, allocations: 89.17 MB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04312/0.2457, allocations: 31.63 MB / 0.7599 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4091/0.6548, allocations: 14.42 MB / 0.774 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005404/0.6602, allocations: 204.3 kB / 0.7742 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.6735, allocations: 3.656 MB / 0.7778 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.6885, allocations: 2.978 MB / 0.7807 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01136/0.6999, allocations: 2.344 MB / 0.783 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02227/0.7221, allocations: 8.813 MB / 0.7916 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01473/0.7369, allocations: 5.542 MB / 0.797 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.7492, allocations: 4.098 MB / 0.801 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.7612, allocations: 4.267 MB / 0.8052 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004076/0.7653, allocations: 0.7152 MB / 0.8059 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/0.7734, allocations: 1.62 MB / 0.8075 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007808/0.7812, allocations: 2.906 MB / 0.8103 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.7923, allocations: 2.751 MB / 0.813 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02655/0.8189, allocations: 11.28 MB / 0.824 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.8189, allocations: 0 / 0.824 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8189, allocations: 0 / 0.824 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003517/0.8192, allocations: 6.75 kB / 0.824 GB, free: 5.051 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02836/0.8476, allocations: 6.052 MB / 0.8299 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.8477, allocations: 12.03 kB / 0.8299 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003105/0.848, allocations: 130.2 kB / 0.83 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004131/0.8521, allocations: 0.7271 MB / 0.8308 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00852/0.8606, allocations: 1.172 MB / 0.8319 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008859/0.8695, allocations: 3.473 MB / 0.8353 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.8699, allocations: 374.6 kB / 0.8356 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.8717, allocations: 499.9 kB / 0.8361 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.8903, allocations: 8.86 MB / 0.8448 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.8905, allocations: 27.77 kB / 0.8448 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008671/0.8913, allocations: 216 kB / 0.845 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001129/0.8925, allocations: 437.6 kB / 0.8454 GB, free: 336 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.9058, allocations: 6.085 MB / 0.8514 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0414/0.9472, allocations: 22.05 MB / 0.8729 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.9505, allocations: 1.902 MB / 0.8748 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.9533, allocations: 1.748 MB / 0.8765 GB, free: 48 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.9534, allocations: 22 kB / 0.8765 GB, free: 28 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.977e-05/0.9535, allocations: 52.56 kB / 0.8765 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=171): time 3.907e-06/0.9535, allocations: 0 / 0.8765 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=276): time 0.153/1.107, allocations: 38.71 MB / 0.9143 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/1.107, allocations: 89.5 kB / 0.9144 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/1.111, allocations: 2.274 MB / 0.9167 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006782/1.112, allocations: 77.7 kB / 0.9167 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/1.114, allocations: 2.342 MB / 0.919 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/1.116, allocations: 0.9759 MB / 0.92 GB, free: 3.418 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/1.118, allocations: 0.5083 MB / 0.9205 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.118, allocations: 305.1 kB / 0.9208 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.121, allocations: 1.973 MB / 0.9227 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/1.125, allocations: 2.599 MB / 0.9252 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007746/1.133, allocations: 4.94 MB / 0.93 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/1.133, allocations: 4 kB / 0.93 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01702/1.15, allocations: 7.646 MB / 0.9375 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/1.15, allocations: 12 kB / 0.9375 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.618e-05/1.15, allocations: 20.16 kB / 0.9375 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.161, allocations: 3.209 MB / 0.9407 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.163, allocations: 403.3 kB / 0.9411 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04882/1.212, allocations: 32.76 MB / 0.9731 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/1.215, allocations: 171.8 kB / 0.9732 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.215, allocations: 108 kB / 0.9733 GB, free: 11.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003604/1.219, allocations: 1.797 MB / 0.9751 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009026/1.22, allocations: 345.9 kB / 0.9754 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.235, allocations: 7.247 MB / 0.9825 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.235, allocations: 28 kB / 0.9825 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-05/1.235, allocations: 32 kB / 0.9825 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/1.235, allocations: 11.95 kB / 0.9826 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.259, allocations: 12.14 MB / 0.9944 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.259, allocations: 8 kB / 0.9944 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.26, allocations: 231.6 kB / 0.9946 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008891/1.269, allocations: 2.842 MB / 0.9974 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/1.269, allocations: 56 kB / 0.9975 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04623/1.316, allocations: 31.55 MB / 1.028 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.316, allocations: 11.94 kB / 1.028 GB, free: 2.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.329, allocations: 6.786 MB / 1.035 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/1.332, allocations: 0.7247 MB / 1.036 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006402/1.333, allocations: 57.12 kB / 1.036 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/1.334, allocations: 167.7 kB / 1.036 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008742/1.335, allocations: 269.3 kB / 1.036 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.335, allocations: 76 kB / 1.036 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002412/1.338, allocations: 1.529 MB / 1.038 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.338, allocations: 0 / 1.038 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004484/1.342, allocations: 1.367 MB / 1.039 GB, free: 7.059 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01326/1.356, allocations: 7.423 MB / 1.046 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.368, allocations: 6.567 MB / 1.053 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.666e-05/1.368, allocations: 4 kB / 1.053 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008271/1.376, allocations: 4.252 MB / 1.057 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/1.381, allocations: 1.116 MB / 1.058 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4005/1.782, allocations: 39.05 MB / 1.096 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006881/1.789, allocations: 3.113 MB / 1.099 GB, free: 268.3 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002743/1.792, allocations: 0.5545 MB / 1.1 GB, free: 268.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002737/1.794, allocations: 1.971 MB / 1.102 GB, free: 268.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.703e-06/1.794, allocations: 2.125 kB / 1.102 GB, free: 268.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/1.983, allocations: 119.6 MB / 1.218 GB, free: 177.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/21.32, allocations: 8.016 kB / 1.218 GB, free: 177.3 MB / 0.8419 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.872151328017935] Failed to read output from testmodel.py, exit status != 0: 21.555129396962002 21.569823683 20.747191897 Calling exit ...