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.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.001316/0.001316, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001449/0.001449, allocations: 217.6 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002489/0.002489, allocations: 269.9 kB / 313.5 MB, free: 2.641 MB / 238.1 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 1.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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 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.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004417/0.004417, allocations: 98.48 kB / 0.7403 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2273, allocations: 95.39 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02725/0.2546, allocations: 15.45 MB / 0.8485 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.2627, allocations: 4.766 MB / 0.8532 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008111/0.2636, allocations: 83.38 kB / 0.8532 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.2663, allocations: 1.056 MB / 0.8543 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.268, allocations: 0.7776 MB / 0.855 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.2701, allocations: 0.9142 MB / 0.8559 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003812/0.2739, allocations: 3.618 MB / 0.8594 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.2772, allocations: 2.466 MB / 0.8619 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.2796, allocations: 1.632 MB / 0.8635 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.2824, allocations: 1.877 MB / 0.8653 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/0.283, allocations: 340 kB / 0.8656 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.2845, allocations: 0.7529 MB / 0.8663 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.286, allocations: 1.364 MB / 0.8677 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.2876, allocations: 1.171 MB / 0.8688 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.2932, allocations: 5.175 MB / 0.8739 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2932, allocations: 0 / 0.8739 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2932, allocations: 0 / 0.8739 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.828e-05/0.2933, allocations: 0 / 0.8739 GB, free: 14.7 MB / 0.6231 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.004927/0.2982, allocations: 2.642 MB / 0.8765 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.2983, allocations: 9.344 kB / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.979e-05/0.2984, allocations: 68.97 kB / 0.8765 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004744/0.2988, allocations: 370.5 kB / 0.8769 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.3028, allocations: 0.8498 MB / 0.8777 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.3056, allocations: 1.531 MB / 0.8792 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3057, allocations: 177.1 kB / 0.8794 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/0.3061, allocations: 240.3 kB / 0.8796 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006721/0.3129, allocations: 4.262 MB / 0.8838 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.3129, allocations: 7.938 kB / 0.8838 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.3132, allocations: 104 kB / 0.8839 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002081/0.3134, allocations: 168.5 kB / 0.884 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006181/0.3196, allocations: 3.628 MB / 0.8876 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.336, allocations: 11.04 MB / 0.8984 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.339, allocations: 1.469 MB / 0.8998 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/0.3399, allocations: 0.5509 MB / 0.9003 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.34, allocations: 16.64 kB / 0.9003 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.34, allocations: 39.22 kB / 0.9004 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.985e-06/0.34, allocations: 4 kB / 0.9004 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005499/0.3455, allocations: 3.205 MB / 0.9035 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.009e-05/0.3456, allocations: 119.4 kB / 0.9036 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.347, allocations: 1.018 MB / 0.9046 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.347, allocations: 33.7 kB / 0.9047 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008279/0.3479, allocations: 1.142 MB / 0.9058 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.3481, allocations: 289.6 kB / 0.906 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.3485, allocations: 279.4 kB / 0.9063 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.3488, allocations: 414.7 kB / 0.9067 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.3497, allocations: 0.6207 MB / 0.9073 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3511, allocations: 1.185 MB / 0.9085 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.3535, allocations: 1.857 MB / 0.9103 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.3535, allocations: 8 kB / 0.9103 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003289/0.3568, allocations: 2.027 MB / 0.9123 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3569, allocations: 12 kB / 0.9123 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.3569, allocations: 20 kB / 0.9123 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004525/0.3573, allocations: 160 kB / 0.9125 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3585, allocations: 347.4 kB / 0.9128 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/0.3586, allocations: 39.86 kB / 0.9128 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009307/0.3595, allocations: 123.8 kB / 0.9129 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.3596, allocations: 71.98 kB / 0.913 GB, free: 5.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.001372/0.361, allocations: 0.9855 MB / 0.914 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.3612, allocations: 115.2 kB / 0.9141 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.3634, allocations: 1.218 MB / 0.9153 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3634, allocations: 11.94 kB / 0.9153 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3634, allocations: 4 kB / 0.9153 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3634, allocations: 3.984 kB / 0.9153 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005425/0.3688, allocations: 3.451 MB / 0.9187 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.3688, allocations: 4 kB / 0.9187 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.3694, allocations: 155.8 kB / 0.9188 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.3698, allocations: 139.3 kB / 0.9189 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.3699, allocations: 23.88 kB / 0.919 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-05/0.3699, allocations: 11.92 kB / 0.919 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3699, allocations: 8.25 kB / 0.919 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.3719, allocations: 1.466 MB / 0.9204 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/0.3723, allocations: 207.2 kB / 0.9206 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.3724, allocations: 16 kB / 0.9206 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.373, allocations: 67.91 kB / 0.9207 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.3731, allocations: 56.48 kB / 0.9208 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.3732, allocations: 24 kB / 0.9208 GB, free: 13.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009173/0.3741, allocations: 0.7031 MB / 0.9215 GB, free: 12.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3741, allocations: 3.938 kB / 0.9215 GB, free: 12.44 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001291/0.3754, allocations: 384 kB / 0.9218 GB, free: 12.07 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.002421/0.3778, allocations: 2.038 MB / 0.9238 GB, free: 9.965 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.3801, allocations: 1.363 MB / 0.9252 GB, free: 8.59 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3801, allocations: 0.9375 kB / 0.9252 GB, free: 8.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008681/0.3809, allocations: 0.5342 MB / 0.9257 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.3823, allocations: 275.6 kB / 0.9259 GB, free: 7.781 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.4006, allocations: 12.9 MB / 0.9385 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001721/0.4024, allocations: 1.344 MB / 0.9398 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001136/0.4035, allocations: 445.4 kB / 0.9403 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/0.4045, allocations: 0.7141 MB / 0.941 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of SimCode: time 1.533e-06/0.4045, allocations: 0 / 0.941 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.4665, allocations: 29.47 MB / 0.9697 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/13.95, allocations: 15.94 kB / 0.9698 GB, free: 10.63 MB / 0.7169 GB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 18.500061637023464] Failed to read output from testmodel.py, exit status != 0: 14.121835429919884 14.472662771 14.176263532 Calling exit ...