Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001161/0.001161, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001185/0.001185, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.35/1.35, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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.002297/0.002297, allocations: 279 kB / 303 MB, free: 3.613 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.002/1.002, allocations: 180.9 MB / 0.5261 GB, free: 3.121 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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 95.84 kB / 0.7248 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4953, allocations: 94.15 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.00911/0.5044, allocations: 10.22 MB / 0.8267 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005092/0.5095, allocations: 3.203 MB / 0.8298 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.51, allocations: 36.88 kB / 0.8299 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.5114, allocations: 0.6193 MB / 0.8305 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.5128, allocations: 0.7784 MB / 0.8312 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.5143, allocations: 0.7367 MB / 0.832 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002821/0.5171, allocations: 2.996 MB / 0.8349 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.5193, allocations: 1.946 MB / 0.8368 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.5212, allocations: 1.272 MB / 0.838 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.5239, allocations: 1.697 MB / 0.8397 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.5242, allocations: 236.5 kB / 0.8399 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.5253, allocations: 0.5034 MB / 0.8404 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.5265, allocations: 1.1 MB / 0.8415 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.5279, allocations: 1.115 MB / 0.8426 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.5326, allocations: 3.698 MB / 0.8462 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5326, allocations: 0 / 0.8462 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5326, allocations: 0 / 0.8462 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.329e-05/0.5327, allocations: 5.062 kB / 0.8462 GB, free: 7.242 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004931/0.5376, allocations: 2.191 MB / 0.8483 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5377, allocations: 9.625 kB / 0.8483 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003887/0.5381, allocations: 256.9 kB / 0.8486 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00829/0.5463, allocations: 1.329 MB / 0.8499 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.5496, allocations: 1.304 MB / 0.8511 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/0.5497, allocations: 111.9 kB / 0.8512 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004085/0.5501, allocations: 149.5 kB / 0.8514 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005622/0.5557, allocations: 3.44 MB / 0.8547 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.5557, allocations: 6.281 kB / 0.8548 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.5559, allocations: 62.81 kB / 0.8548 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002498/0.5562, allocations: 203.8 kB / 0.855 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.561, allocations: 3.132 MB / 0.8581 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.5803, allocations: 13.56 MB / 0.8713 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.5828, allocations: 1.62 MB / 0.8729 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.5847, allocations: 1.332 MB / 0.8742 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.557e-05/0.5848, allocations: 10.62 kB / 0.8742 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.5848, allocations: 47.62 kB / 0.8743 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 2.846e-06/0.5848, allocations: 3.938 kB / 0.8743 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183): time 0.1318/0.7166, allocations: 36.57 MB / 0.91 GB, free: 400 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.7167, allocations: 69.41 kB / 0.91 GB, free: 320 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.7183, allocations: 1.054 MB / 0.9111 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.7186, allocations: 53.64 kB / 0.9111 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/0.7192, allocations: 0.817 MB / 0.9119 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/0.7199, allocations: 0.6467 MB / 0.9125 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008384/0.7208, allocations: 371.5 kB / 0.9129 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7209, allocations: 305.1 kB / 0.9132 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002839/0.7237, allocations: 1.928 MB / 0.9151 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.7269, allocations: 2.285 MB / 0.9173 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006377/0.7333, allocations: 4.391 MB / 0.9216 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.7333, allocations: 4 kB / 0.9216 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0208/0.7541, allocations: 8.876 MB / 0.9303 GB, free: 11.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7541, allocations: 10.22 kB / 0.9303 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.7541, allocations: 8 kB / 0.9303 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01676/0.7709, allocations: 4.979 MB / 0.9351 GB, free: 6.254 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.7718, allocations: 195.7 kB / 0.9353 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06067/0.8325, allocations: 38.93 MB / 0.9733 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.8346, allocations: 103.9 kB / 0.9734 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/0.835, allocations: 68 kB / 0.9735 GB, free: 14.39 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002157/0.8372, allocations: 0.8056 MB / 0.9743 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.8377, allocations: 143.1 kB / 0.9744 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/0.858, allocations: 8.738 MB / 0.983 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.8581, allocations: 16 kB / 0.983 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.574e-05/0.8581, allocations: 36 kB / 0.983 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/0.8582, allocations: 7.969 kB / 0.983 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/0.8876, allocations: 13.26 MB / 0.996 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.8876, allocations: 0 / 0.996 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.8882, allocations: 123.8 kB / 0.9961 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/0.9044, allocations: 4.837 MB / 1.001 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/0.9048, allocations: 36 kB / 1.001 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05835/0.9632, allocations: 36.86 MB / 1.037 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.9632, allocations: 7.938 kB / 1.037 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/0.9826, allocations: 8.448 MB / 1.045 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/0.9846, allocations: 0.6522 MB / 1.046 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/0.9851, allocations: 35.98 kB / 1.046 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.9866, allocations: 91.89 kB / 1.046 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008472/0.9874, allocations: 161.7 kB / 1.046 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/0.9876, allocations: 44 kB / 1.046 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00125/0.9889, allocations: 0.7421 MB / 1.047 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.9889, allocations: 0 / 1.047 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0038/0.9927, allocations: 1.004 MB / 1.048 GB, free: 1.434 MB / 0.7794 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01965/1.012, allocations: 9.051 MB / 1.057 GB, free: 8.285 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.023, allocations: 5.747 MB / 1.062 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.023, allocations: 8.188 kB / 1.062 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008119/1.031, allocations: 3.768 MB / 1.066 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.033, allocations: 240.1 kB / 1.066 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06356/1.097, allocations: 30.78 MB / 1.096 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/1.099, allocations: 1.855 MB / 1.098 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009151/1.1, allocations: 351.4 kB / 1.098 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008555/1.101, allocations: 0.6086 MB / 1.099 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of SimCode: time 8.11e-07/1.101, allocations: 0 / 1.099 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4491/1.55, allocations: 76.72 MB / 1.174 GB, free: 283.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/13.4, allocations: 8.359 kB / 1.174 GB, free: 283.4 MB / 0.8731 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.155752652324736] Failed to read output from testmodel.py, exit status != 0: 13.517363253980875 13.532209987 12.996812227 Calling exit ...