Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0008113/0.0008113, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008082/0.0008082, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8705/0.8705, 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.001549/0.001549, allocations: 236.1 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.6708/0.6708, allocations: 138.4 MB / 454.3 MB, free: 1.605 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.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.34e-05, allocations: 3.719 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006299/0.006313, allocations: 9.462 MB / 0.6556 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.009115, allocations: 3.005 MB / 0.6585 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.009405, allocations: 45.5 kB / 0.6585 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008178/0.01022, allocations: 0.693 MB / 0.6592 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0006772/0.0109, allocations: 0.7511 MB / 0.66 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.01152, allocations: 0.6441 MB / 0.6606 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.01289, allocations: 2.784 MB / 0.6633 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008818/0.01378, allocations: 1.364 MB / 0.6646 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008376/0.01461, allocations: 1.583 MB / 0.6662 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000749/0.01536, allocations: 1.36 MB / 0.6675 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.01551, allocations: 216 kB / 0.6677 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.01589, allocations: 471.2 kB / 0.6682 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.01626, allocations: 1.056 MB / 0.6692 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.0166, allocations: 0.7134 MB / 0.6699 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.01783, allocations: 3.491 MB / 0.6733 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01783, allocations: 4 kB / 0.6733 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01783, allocations: 4 kB / 0.6733 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.01785, allocations: 0 / 0.6733 GB, free: 5.902 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.001502/0.01935, allocations: 1.9 MB / 0.6752 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01939, allocations: 12.75 kB / 0.6752 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.01956, allocations: 248.7 kB / 0.6754 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.02215, allocations: 0.9205 MB / 0.6763 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.02318, allocations: 1.12 MB / 0.6774 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.02322, allocations: 111.3 kB / 0.6775 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.02337, allocations: 144.3 kB / 0.6776 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.02601, allocations: 3.085 MB / 0.6807 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.02604, allocations: 8.172 kB / 0.6807 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.02618, allocations: 72.09 kB / 0.6807 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.02632, allocations: 178.9 kB / 0.6809 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.02895, allocations: 2.6 MB / 0.6834 GB, free: 11.32 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008044/0.03699, allocations: 9.322 MB / 0.6926 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.03823, allocations: 1.218 MB / 0.6937 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.03911, allocations: 0.985 MB / 0.6947 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.03916, allocations: 8.656 kB / 0.6947 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.03918, allocations: 47.09 kB / 0.6948 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.03919, allocations: 0 / 0.6948 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.03601/0.0752, allocations: 18.87 MB / 0.7132 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.07525, allocations: 72.66 kB / 0.7133 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.07607, allocations: 0.93 MB / 0.7142 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.07615, allocations: 49.7 kB / 0.7142 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.07647, allocations: 0.7462 MB / 0.7149 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.07674, allocations: 0.4957 MB / 0.7154 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.07709, allocations: 287.5 kB / 0.7157 GB, free: 9.957 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.07719, allocations: 357.9 kB / 0.716 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.07843, allocations: 1.335 MB / 0.7173 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.07983, allocations: 1.66 MB / 0.719 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.08251, allocations: 3.084 MB / 0.722 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.08251, allocations: 11.98 kB / 0.722 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.006678/0.08919, allocations: 5.555 MB / 0.7274 GB, free: 13.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.08921, allocations: 8 kB / 0.7274 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.08922, allocations: 12.03 kB / 0.7274 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004614/0.09384, allocations: 2.709 MB / 0.7301 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.09424, allocations: 195.6 kB / 0.7303 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.1153, allocations: 25.01 MB / 0.7547 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.1161, allocations: 91.95 kB / 0.7548 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.1162, allocations: 56 kB / 0.7548 GB, free: 1.148 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000875/0.117, allocations: 0.7393 MB / 0.7555 GB, free: 408 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1172, allocations: 123.2 kB / 0.7557 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/0.1236, allocations: 5.314 MB / 0.7609 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1236, allocations: 12 kB / 0.7609 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.1236, allocations: 20.5 kB / 0.7609 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1237, allocations: 7.969 kB / 0.7609 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009191/0.1328, allocations: 8.256 MB / 0.769 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1328, allocations: 12.06 kB / 0.769 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1331, allocations: 123.7 kB / 0.7691 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00443/0.1375, allocations: 2.578 MB / 0.7716 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.1376, allocations: 24 kB / 0.7716 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.1573, allocations: 23.44 MB / 0.7945 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1573, allocations: 7.938 kB / 0.7945 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006095/0.1634, allocations: 5.171 MB / 0.7996 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.1639, allocations: 427.2 kB / 0.8 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.164, allocations: 28 kB / 0.8 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.1645, allocations: 83.78 kB / 0.8001 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.1647, allocations: 132.9 kB / 0.8002 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/0.1648, allocations: 36 kB / 0.8003 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005217/0.1653, allocations: 0.6434 MB / 0.8009 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 0 / 0.8009 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001546/0.1669, allocations: 0.7188 MB / 0.8016 GB, free: 0.5508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006435/0.1733, allocations: 5.76 MB / 0.8072 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004643/0.1779, allocations: 4.078 MB / 0.8112 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1779, allocations: 3.938 kB / 0.8112 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/0.1808, allocations: 2.592 MB / 0.8137 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.1816, allocations: 216.9 kB / 0.8139 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.204, allocations: 21.38 MB / 0.8348 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009072/0.2049, allocations: 1.105 MB / 0.8359 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005655/0.2055, allocations: 329.4 kB / 0.8362 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.2059, allocations: 0.5355 MB / 0.8367 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/0.2059, allocations: 0 / 0.8367 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2706/0.4765, allocations: 56.08 MB / 0.8915 GB, free: 192.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.223, allocations: 7.625 kB / 0.8915 GB, free: 192.1 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.972470122389495] Failed to read output from testmodel.py, exit status != 0: 8.322531073354185 8.33142849 8.311888546 Calling exit ...