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.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.000776/0.000776, 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.0007976/0.0007976, allocations: 169.9 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.8888/0.8888, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001455/0.001455, allocations: 246.3 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.6691/0.6691, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.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_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 1.562e-06/1.562e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.132e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.2317/0.2317, allocations: 9.478 MB / 0.6556 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003749/0.2355, allocations: 3.121 MB / 0.6586 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.236, allocations: 46.84 kB / 0.6587 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.237, allocations: 0.6091 MB / 0.6592 GB, free: 49.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.2381, allocations: 0.7965 MB / 0.66 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2394, allocations: 0.7537 MB / 0.6608 GB, free: 49.12 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.2418, allocations: 3.045 MB / 0.6637 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.2433, allocations: 1.418 MB / 0.6651 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.2456, allocations: 1.74 MB / 0.6668 GB, free: 46.33 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.2471, allocations: 1.564 MB / 0.6683 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.2476, allocations: 235.7 kB / 0.6686 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.2487, allocations: 487.7 kB / 0.669 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006909/0.2494, allocations: 1.146 MB / 0.6702 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.2499, allocations: 0.7888 MB / 0.6709 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.2525, allocations: 3.794 MB / 0.6746 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2525, allocations: 0 / 0.6746 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2525, allocations: 0 / 0.6746 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.347e-05/0.2526, allocations: 0 / 0.6746 GB, free: 43.76 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002834/0.2554, allocations: 2.101 MB / 0.6767 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2555, allocations: 10.31 kB / 0.6767 GB, free: 42.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/0.2557, allocations: 260.2 kB / 0.6769 GB, free: 42.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.2603, allocations: 1.359 MB / 0.6783 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.262, allocations: 1.258 MB / 0.6795 GB, free: 41.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.2621, allocations: 115.8 kB / 0.6796 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.2623, allocations: 149 kB / 0.6797 GB, free: 41.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.2663, allocations: 3.511 MB / 0.6832 GB, free: 40.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.2663, allocations: 10.23 kB / 0.6832 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.2665, allocations: 68.25 kB / 0.6833 GB, free: 40 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.2667, allocations: 204 kB / 0.6834 GB, free: 39.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.2706, allocations: 3.117 MB / 0.6865 GB, free: 38.97 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009811/0.2804, allocations: 10.07 MB / 0.6963 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.282, allocations: 1.61 MB / 0.6979 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.2832, allocations: 1.335 MB / 0.6992 GB, free: 31.28 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.018e-05/0.2833, allocations: 15.44 kB / 0.6992 GB, free: 31.28 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.2833, allocations: 44 kB / 0.6993 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 3.096e-06/0.2833, allocations: 0 / 0.6993 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=183): time 0.0678/0.3511, allocations: 36.18 MB / 0.7346 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3511, allocations: 73.41 kB / 0.7347 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.3521, allocations: 1.073 MB / 0.7357 GB, free: 15.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.3523, allocations: 53.7 kB / 0.7358 GB, free: 15.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.3527, allocations: 0.8093 MB / 0.7365 GB, free: 14.63 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.3531, allocations: 0.6429 MB / 0.7372 GB, free: 13.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.3536, allocations: 359.5 kB / 0.7375 GB, free: 13.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.3536, allocations: 305 kB / 0.7378 GB, free: 13.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.3555, allocations: 1.932 MB / 0.7397 GB, free: 11.39 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.3575, allocations: 2.285 MB / 0.7419 GB, free: 8.98 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.3615, allocations: 4.395 MB / 0.7462 GB, free: 4.461 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3615, allocations: 4 kB / 0.7462 GB, free: 4.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01199/0.3735, allocations: 8.873 MB / 0.7549 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.3735, allocations: 8.625 kB / 0.7549 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.3736, allocations: 8 kB / 0.7549 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009921/0.3835, allocations: 4.98 MB / 0.7598 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.3842, allocations: 192.4 kB / 0.76 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03696/0.4212, allocations: 37.99 MB / 0.7971 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4226, allocations: 99.89 kB / 0.7971 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4228, allocations: 68 kB / 0.7972 GB, free: 15.74 MB / 0.6355 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.001207/0.424, allocations: 0.8134 MB / 0.798 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.4242, allocations: 151 kB / 0.7982 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.4358, allocations: 8.734 MB / 0.8067 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.4358, allocations: 20 kB / 0.8067 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.594e-05/0.4359, allocations: 32.52 kB / 0.8067 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.4359, allocations: 7.969 kB / 0.8067 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.4524, allocations: 12.66 MB / 0.8191 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.4524, allocations: 7.984 kB / 0.8191 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.4527, allocations: 115.9 kB / 0.8192 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00919/0.4619, allocations: 4.819 MB / 0.8239 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.4621, allocations: 36 kB / 0.824 GB, free: 4.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/0.4967, allocations: 35.91 MB / 0.859 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4967, allocations: 11.94 kB / 0.859 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.5086, allocations: 8.44 MB / 0.8673 GB, free: 7.246 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.5097, allocations: 0.577 MB / 0.8679 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.5099, allocations: 35.98 kB / 0.8679 GB, free: 6.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.5106, allocations: 91.83 kB / 0.868 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007613/0.5113, allocations: 169.6 kB / 0.8681 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.5114, allocations: 48 kB / 0.8682 GB, free: 6.328 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009433/0.5124, allocations: 0.7421 MB / 0.8689 GB, free: 5.574 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5124, allocations: 0 / 0.8689 GB, free: 5.574 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002621/0.515, allocations: 1.008 MB / 0.8699 GB, free: 4.566 MB / 0.698 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.01162/0.5266, allocations: 9.031 MB / 0.8787 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006771/0.5334, allocations: 5.724 MB / 0.8843 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5334, allocations: 2.625 kB / 0.8843 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004834/0.5382, allocations: 3.779 MB / 0.888 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5394, allocations: 243.6 kB / 0.8882 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/0.5782, allocations: 30.89 MB / 0.9184 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.5795, allocations: 1.275 MB / 0.9196 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006198/0.5801, allocations: 363.4 kB / 0.92 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005295/0.5806, allocations: 0.6019 MB / 0.9206 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of SimCode: time 1.342e-06/0.5806, allocations: 4 kB / 0.9206 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2996/0.8802, allocations: 80.85 MB / 0.9995 GB, free: 220.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/8.978, allocations: 7.484 kB / 0.9995 GB, free: 220.6 MB / 0.7605 GB " [Timeout remaining time 651] (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: 11.606555983424187] Failed to read output from testmodel.py, exit status != 0: 9.087213554419577 9.097761074 8.842918697 Calling exit ...