Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001644/0.001644, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001994/0.001994, allocations: 218 kB / 23.04 MB, free: 5.074 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002495/0.002495, allocations: 291.3 kB / 313.5 MB, free: 2.812 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.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002752/0.002752, allocations: 103.8 kB / 0.7404 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.162, allocations: 95.38 MB / 0.8335 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0177/0.1797, allocations: 14.59 MB / 0.8478 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1952, allocations: 9.786 MB / 0.8573 GB, free: 224 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.1967, allocations: 75.31 kB / 0.8574 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.2013, allocations: 1.747 MB / 0.8591 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004492/0.2058, allocations: 1.595 MB / 0.8606 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.2078, allocations: 0.7621 MB / 0.8614 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.2113, allocations: 2.528 MB / 0.8639 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.213, allocations: 1.192 MB / 0.865 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.2149, allocations: 1.09 MB / 0.8661 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.2172, allocations: 1.207 MB / 0.8673 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.2175, allocations: 164 kB / 0.8674 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.2191, allocations: 0.815 MB / 0.8682 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.2198, allocations: 0.6308 MB / 0.8688 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.2209, allocations: 0.9445 MB / 0.8698 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.2244, allocations: 2.767 MB / 0.8725 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2244, allocations: 0 / 0.8725 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2244, allocations: 0 / 0.8725 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.2245, allocations: 8 kB / 0.8725 GB, free: 0.6172 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004128/0.2286, allocations: 2.12 MB / 0.8745 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2286, allocations: 9.344 kB / 0.8745 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.076e-05/0.2287, allocations: 30.56 kB / 0.8746 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/0.2289, allocations: 194.4 kB / 0.8748 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.2407, allocations: 2.102 MB / 0.8768 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.2438, allocations: 1.208 MB / 0.878 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.2439, allocations: 98.48 kB / 0.8781 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.2442, allocations: 112 kB / 0.8782 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/0.2503, allocations: 2.679 MB / 0.8808 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.22e-05/0.2503, allocations: 11.92 kB / 0.8808 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.2505, allocations: 51.98 kB / 0.8809 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006449/0.2511, allocations: 178.1 kB / 0.881 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00807/0.2592, allocations: 2.799 MB / 0.8838 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.2755, allocations: 10.38 MB / 0.8939 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.2827, allocations: 2.223 MB / 0.8961 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.2861, allocations: 1.218 MB / 0.8973 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/0.2862, allocations: 12.98 kB / 0.8973 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.2862, allocations: 43.56 kB / 0.8973 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.525e-06/0.2862, allocations: 0 / 0.8973 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04864/0.3348, allocations: 12.66 MB / 0.9097 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.3349, allocations: 64.72 kB / 0.9097 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.3365, allocations: 1.113 MB / 0.9108 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.3367, allocations: 49.7 kB / 0.9109 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.3373, allocations: 0.7248 MB / 0.9116 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000506/0.3379, allocations: 475.9 kB / 0.912 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005367/0.3384, allocations: 267.5 kB / 0.9123 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3386, allocations: 361.9 kB / 0.9126 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/0.3422, allocations: 1.343 MB / 0.914 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003803/0.346, allocations: 1.608 MB / 0.9155 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007388/0.3534, allocations: 2.991 MB / 0.9184 GB, free: 388 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3534, allocations: 4 kB / 0.9184 GB, free: 384 kB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01232/0.3657, allocations: 4.404 MB / 0.9227 GB, free: 11.92 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.3657, allocations: 8 kB / 0.9228 GB, free: 11.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3658, allocations: 12.83 kB / 0.9228 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005316/0.3711, allocations: 1.427 MB / 0.9242 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.3732, allocations: 435.2 kB / 0.9246 GB, free: 10 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02952/0.4028, allocations: 25.37 MB / 0.9494 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/0.4054, allocations: 311.4 kB / 0.9496 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/0.4056, allocations: 64.03 kB / 0.9497 GB, free: 14.76 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008593/0.4065, allocations: 437.5 kB / 0.9501 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.4068, allocations: 167 kB / 0.9503 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.4194, allocations: 4.41 MB / 0.9546 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/0.4195, allocations: 12 kB / 0.9546 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-05/0.4195, allocations: 12 kB / 0.9546 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.4195, allocations: 7.969 kB / 0.9546 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.4365, allocations: 6.692 MB / 0.9612 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.4365, allocations: 0 / 0.9612 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/0.4384, allocations: 391.6 kB / 0.9615 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004761/0.4432, allocations: 1.295 MB / 0.9628 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.4433, allocations: 43.97 kB / 0.9628 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02752/0.4708, allocations: 24.18 MB / 0.9865 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.4709, allocations: 7.938 kB / 0.9865 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/0.4824, allocations: 4.16 MB / 0.9905 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4834, allocations: 386.7 kB / 0.9909 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.4837, allocations: 28 kB / 0.9909 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/0.4859, allocations: 311.5 kB / 0.9912 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004361/0.4863, allocations: 132.6 kB / 0.9913 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.4864, allocations: 56.42 kB / 0.9914 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001114/0.4876, allocations: 0.7487 MB / 0.9921 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.4876, allocations: 0 / 0.9921 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002031/0.4896, allocations: 0.5664 MB / 0.9927 GB, free: 0.9023 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3468/0.8364, allocations: 4.747 MB / 0.9973 GB, free: 146.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01078/0.8472, allocations: 4.975 MB / 1.002 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8472, allocations: 0 / 1.002 GB, free: 145.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006549/0.8537, allocations: 3.426 MB / 1.006 GB, free: 143.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.8561, allocations: 0.5582 MB / 1.006 GB, free: 143.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03991/0.896, allocations: 19.34 MB / 1.025 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/0.8969, allocations: 1.472 MB / 1.026 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001431/0.8984, allocations: 435.4 kB / 1.027 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/0.8991, allocations: 0.63 MB / 1.027 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.8991, allocations: 0 / 1.027 GB, free: 134.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.003, allocations: 53.4 MB / 1.08 GB, free: 84.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/21.37, allocations: 4.062 kB / 1.08 GB, free: 84.45 MB / 0.7325 GB " [Timeout remaining time 638] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.720264700008556] Failed to read output from testmodel.py, exit status != 0: 21.570838965009898 21.581881601 21.35510166 Calling exit ...