Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002404/0.002404, allocations: 293.7 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.14/1.14, allocations: 180.9 MB / 0.5261 GB, free: 14.63 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 105.7 kB / 0.7248 GB, free: 40.38 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 94.15 MB / 0.8167 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02815/0.1817, allocations: 23.76 MB / 0.8399 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1935, allocations: 6.531 MB / 0.8463 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.1953, allocations: 99.5 kB / 0.8464 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.1993, allocations: 1.533 MB / 0.8479 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004287/0.2036, allocations: 1.933 MB / 0.8498 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.2071, allocations: 1.461 MB / 0.8512 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008178/0.2153, allocations: 6.904 MB / 0.858 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00857/0.2239, allocations: 5.196 MB / 0.863 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.2285, allocations: 2.878 MB / 0.8659 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00564/0.2341, allocations: 3.739 MB / 0.8695 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.2355, allocations: 0.5312 MB / 0.87 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.2387, allocations: 1.194 MB / 0.8712 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003847/0.2425, allocations: 2.533 MB / 0.8737 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004732/0.2473, allocations: 2.532 MB / 0.8761 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.2585, allocations: 8.539 MB / 0.8845 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2585, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2585, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000301/0.2588, allocations: 0 / 0.8845 GB, free: 15.89 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0104/0.2692, allocations: 4.555 MB / 0.8889 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2692, allocations: 12.03 kB / 0.8889 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008685/0.2701, allocations: 0.5675 MB / 0.8895 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007887/0.278, allocations: 1.703 MB / 0.8912 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005966/0.284, allocations: 2.717 MB / 0.8938 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.2842, allocations: 271.7 kB / 0.8941 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006537/0.2848, allocations: 364.3 kB / 0.8944 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.2963, allocations: 7.487 MB / 0.9017 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-05/0.2964, allocations: 15.88 kB / 0.9017 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.2968, allocations: 155.9 kB / 0.9019 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00056/0.2973, allocations: 487.3 kB / 0.9024 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.3077, allocations: 5.697 MB / 0.9079 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.3446, allocations: 31.55 MB / 0.9387 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.3475, allocations: 2.022 MB / 0.9407 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.3503, allocations: 2.116 MB / 0.9428 GB, free: 1 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3505, allocations: 17.31 kB / 0.9428 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3505, allocations: 43.88 kB / 0.9428 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/0.3505, allocations: 0 / 0.9428 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=251): time 0.6118/0.9623, allocations: 76.79 MB / 1.018 GB, free: 174.8 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.9624, allocations: 77.47 kB / 1.018 GB, free: 174.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.9652, allocations: 1.669 MB / 1.02 GB, free: 173.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003994/0.9656, allocations: 67.08 kB / 1.02 GB, free: 173.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008929/0.9664, allocations: 1.792 MB / 1.021 GB, free: 172.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/0.967, allocations: 0.8965 MB / 1.022 GB, free: 171.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008404/0.9679, allocations: 481.7 kB / 1.023 GB, free: 171.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.905e-05/0.9679, allocations: 313.1 kB / 1.023 GB, free: 171.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/0.9707, allocations: 2.731 MB / 1.026 GB, free: 169.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.9738, allocations: 3.33 MB / 1.029 GB, free: 167.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/0.9801, allocations: 6.391 MB / 1.035 GB, free: 163.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.9801, allocations: 3.906 kB / 1.035 GB, free: 163.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02498/1.005, allocations: 14.41 MB / 1.049 GB, free: 151.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/1.005, allocations: 12 kB / 1.049 GB, free: 151.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.005, allocations: 20 kB / 1.049 GB, free: 151.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02338/1.029, allocations: 9.239 MB / 1.058 GB, free: 142 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.03, allocations: 299.4 kB / 1.059 GB, free: 141.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05837/1.088, allocations: 52.41 MB / 1.11 GB, free: 88.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.09, allocations: 223.6 kB / 1.11 GB, free: 88.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/1.091, allocations: 96 kB / 1.11 GB, free: 88.21 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001957/1.093, allocations: 1.592 MB / 1.112 GB, free: 86.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/1.093, allocations: 255.3 kB / 1.112 GB, free: 86.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02496/1.118, allocations: 14.47 MB / 1.126 GB, free: 71.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.118, allocations: 27.94 kB / 1.126 GB, free: 71.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001205/1.118, allocations: 48 kB / 1.126 GB, free: 71.76 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-05/1.118, allocations: 11.95 kB / 1.126 GB, free: 71.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03282/1.151, allocations: 20.24 MB / 1.146 GB, free: 51.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.151, allocations: 11.98 kB / 1.146 GB, free: 51.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/1.152, allocations: 165.6 kB / 1.146 GB, free: 51.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02344/1.175, allocations: 9.005 MB / 1.155 GB, free: 42.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004633/1.176, allocations: 48 kB / 1.155 GB, free: 42.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06273/1.238, allocations: 51.96 MB / 1.206 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.238, allocations: 15.88 kB / 1.206 GB, free: 5.305 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03099/1.269, allocations: 14.08 MB / 1.219 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.272, allocations: 0.8585 MB / 1.22 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008828/1.273, allocations: 51.94 kB / 1.22 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.275, allocations: 207.7 kB / 1.22 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/1.277, allocations: 233.5 kB / 1.221 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/1.277, allocations: 67.98 kB / 1.221 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001953/1.279, allocations: 1.121 MB / 1.222 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.279, allocations: 4 kB / 1.222 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004815/1.284, allocations: 1.617 MB / 1.223 GB, free: 2.887 MB / 0.7794 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 (80): * 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: 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03132/1.315, allocations: 14.72 MB / 1.238 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02223/1.337, allocations: 10.2 MB / 1.248 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.337, allocations: 0 / 1.248 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/1.354, allocations: 7.007 MB / 1.255 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/1.358, allocations: 0.5487 MB / 1.255 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0996/1.457, allocations: 50.41 MB / 1.304 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/1.462, allocations: 3.227 MB / 1.307 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001124/1.463, allocations: 399.3 kB / 1.308 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/1.465, allocations: 1.46 MB / 1.309 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/1.465, allocations: 0 / 1.309 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5339/1.999, allocations: 121.8 MB / 1.428 GB, free: 261 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/15.78, allocations: 3.969 kB / 1.428 GB, free: 261 MB / 0.9044 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.99819616600871] Failed to read output from testmodel.py, exit status != 0: 15.90667999908328 15.922001495 15.660379595 Calling exit ...