Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001264/0.001264, allocations: 110.6 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.001224/0.001224, 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.314/1.314, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.002369/0.002369, allocations: 292.8 kB / 303 MB, free: 9.5 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.144/1.144, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 99.91 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1376, allocations: 94.16 MB / 0.8167 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01918/0.1568, allocations: 16.26 MB / 0.8326 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008701/0.1655, allocations: 4.859 MB / 0.8374 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.1668, allocations: 67.69 kB / 0.8374 GB, free: 256 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.1698, allocations: 1.072 MB / 0.8385 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.1718, allocations: 0.7815 MB / 0.8392 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.1742, allocations: 0.9164 MB / 0.8401 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004267/0.1785, allocations: 3.63 MB / 0.8437 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005282/0.1838, allocations: 3.544 MB / 0.8471 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.1862, allocations: 1.593 MB / 0.8487 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.1893, allocations: 1.877 MB / 0.8505 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000814/0.1901, allocations: 340 kB / 0.8508 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.1921, allocations: 0.8192 MB / 0.8516 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.1941, allocations: 1.36 MB / 0.853 GB, free: 228 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.1966, allocations: 1.455 MB / 0.8544 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.2029, allocations: 5.14 MB / 0.8594 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2029, allocations: 0 / 0.8594 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2029, allocations: 0 / 0.8594 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001005/0.203, allocations: 0 / 0.8594 GB, free: 9.605 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00498/0.208, allocations: 2.721 MB / 0.8621 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.208, allocations: 8.031 kB / 0.8621 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005128/0.2085, allocations: 378.5 kB / 0.8624 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.2123, allocations: 0.8421 MB / 0.8633 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.2158, allocations: 1.576 MB / 0.8648 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2159, allocations: 177.1 kB / 0.865 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/0.2163, allocations: 232.3 kB / 0.8652 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.2229, allocations: 4.161 MB / 0.8692 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.384e-05/0.223, allocations: 7.922 kB / 0.8693 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.2232, allocations: 99.98 kB / 0.8694 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.2234, allocations: 176.4 kB / 0.8695 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005655/0.2291, allocations: 3.632 MB / 0.8731 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.2486, allocations: 16.45 MB / 0.8891 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.2519, allocations: 2.226 MB / 0.8913 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008604/0.2528, allocations: 0.5473 MB / 0.8918 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.2529, allocations: 105.6 kB / 0.8919 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.253, allocations: 35.12 kB / 0.892 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.253, allocations: 4 kB / 0.892 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005738/0.2587, allocations: 3.499 MB / 0.8954 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.2588, allocations: 115.4 kB / 0.8955 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.2601, allocations: 1.018 MB / 0.8965 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.2602, allocations: 41.7 kB / 0.8965 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.261, allocations: 1.134 MB / 0.8976 GB, free: 332 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.2612, allocations: 285.6 kB / 0.8979 GB, free: 44 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.2616, allocations: 287.5 kB / 0.8982 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.2618, allocations: 418.7 kB / 0.8986 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009019/0.2627, allocations: 0.6206 MB / 0.8992 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.2641, allocations: 1.185 MB / 0.9004 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/0.2664, allocations: 1.852 MB / 0.9022 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.2664, allocations: 8 kB / 0.9022 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003115/0.2695, allocations: 2.023 MB / 0.9042 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2695, allocations: 12 kB / 0.9042 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.2696, allocations: 24 kB / 0.9042 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.27, allocations: 159.3 kB / 0.9043 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.2711, allocations: 347.4 kB / 0.9047 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.001e-05/0.2711, allocations: 43.98 kB / 0.9047 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.272, allocations: 131.7 kB / 0.9048 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/0.2721, allocations: 71.98 kB / 0.9049 GB, free: 8.309 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.2734, allocations: 0.9777 MB / 0.9059 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.2736, allocations: 115.3 kB / 0.906 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.2757, allocations: 1.23 MB / 0.9072 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.2757, allocations: 8 kB / 0.9072 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2757, allocations: 0 / 0.9072 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2757, allocations: 7.984 kB / 0.9072 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.2814, allocations: 3.798 MB / 0.9109 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2814, allocations: 4 kB / 0.9109 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.2819, allocations: 155.8 kB / 0.911 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003326/0.2823, allocations: 143.3 kB / 0.9112 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.2823, allocations: 16 kB / 0.9112 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.2823, allocations: 11.94 kB / 0.9112 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2823, allocations: 8.062 kB / 0.9112 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2842, allocations: 1.466 MB / 0.9127 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.2847, allocations: 280.3 kB / 0.9129 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.2848, allocations: 16 kB / 0.9129 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.2854, allocations: 67.91 kB / 0.913 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2855, allocations: 60.5 kB / 0.9131 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.2855, allocations: 31.92 kB / 0.9131 GB, free: 15.66 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008741/0.2864, allocations: 0.6953 MB / 0.9138 GB, free: 14.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.2864, allocations: 0 / 0.9138 GB, free: 14.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001303/0.2877, allocations: 384 kB / 0.9141 GB, free: 14.58 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/0.29, allocations: 2.045 MB / 0.9161 GB, free: 12.47 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.2924, allocations: 1.668 MB / 0.9178 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2924, allocations: 4.062 kB / 0.9178 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.2933, allocations: 0.8228 MB / 0.9186 GB, free: 9.809 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.2947, allocations: 279.1 kB / 0.9188 GB, free: 9.547 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.3138, allocations: 12.9 MB / 0.9314 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002206/0.316, allocations: 1.92 MB / 0.9333 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001089/0.3171, allocations: 445.6 kB / 0.9337 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/0.318, allocations: 0.7102 MB / 0.9344 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of SimCode: time 1.042e-06/0.318, allocations: 4 kB / 0.9344 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06178/0.3798, allocations: 28.05 MB / 0.9618 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 19.23 kB / 0.9618 GB, free: 13.08 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.037117692176253] Failed to read output from testmodel.py, exit status != 0: 11.257440520916134 11.270801503 11.06509235 Calling exit ...